YMDS2JS Name
YMDS2JS Purpose
Convert to year, month, day, second to "Julian Second".
Category
Calling Sequence
js = ymds2js(y,m,d,s) Inputs
y,m,d = year, month, day numbers. in
s = second into day. in
Keyword Parameters
Outputs
js = "Julian Second". out
Common Blocks
Notes
Notes: Julian seconds (not an official unit) serve the
same purpose as Julian Days, interval computations.
The zero point is 0:00 1 Jan 2000, so js < 0 before then.
Julian Seconds are double precision and have a precision
better than 1 millisecond over a span of +/- 1000 years.
See also js2ymds, dt_tm_fromjs, dt_tm_tojs, jscheck.
Modification History
R. Sterner, 2 Sep, 1992
Copyright (C) 1992, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.