JDToMidnight:
--------------------------------------------------------------------------
Converts a Julian date to the nearest midnight.
Since version 10.
--------------------------------------------------------------------------
Form:
jDMid = JDToMidnight( jD )
--------------------------------------------------------------------------
------
Inputs
------
jD (:) Julian date
-------
Outputs
-------
jDMid (:) Julian midnights
--------------------------------------------------------------------------
Children:
Common: Time/JD2000