Next: calculator, Previous: c2txy, Up: Internal Routines [Contents][Index]
cal2jd(date)
[SOFA] Returns the Chronological Julian Day Numbers (if
date
is long
) or Julian Day Numbers corresponding
to the specified Gregorian calendar dates date
.
date
must have 3 elements in its first dimension (for
year, month, day). The result has the same type as date
but is not less than long
, and has the same dimensions as
date
except that the first dimension is missing.
Unexpected results may be given if illegal year, month, or day numbers
are specified. Dates before -4799-01-01 yield zero. Dates after
1465073-02-28 yield nonzero but erroneous results (at least on systems
with 32-bit ints).
See also: calendar