JD = Gregorian2Julian(GD,[JulCalFlag])
Converts a epoch Gregorian date into the Julian date. The code handles date vectors and date strings supported by Matlab.
|
Parameters |
Description |
|
GD [varies] |
Gregorian date in any acceptable Matlab date format - see datevec and/or datenum |
|
JulCalFlag [logical] |
(Optional) Date is Julian, not Gregorian (rare) |
|
Return Values |
Description |
|
JD [double] |
Julian date |
D. A. Vallado, Fundamentals of astrodynamics and applications. New York: McGraw-Hill, 1997.
datevec, datestr, Julian2Gregorian
|
Copyright (c) MZA Associates 2009. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|