TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-217
#INTERPRETJULIANDAYNO Built-In Function
#INTERPRETJULIANDAYNO Built-In Function
Use #INTERPRETJULIANDAYNO to convert a Julian day number to its corresponding
calendar date. A Julian day number is an integer representing the number of days from
the arbitrary date January 1, 4713 B.C. to the present day. Julian day numbers are
included in four-word timestamps returned from the #JULIANTIMESTAMP function and
from the CREATION_GMT and LASTOPEN_GMT options of the #FILEINFO function.
julian-day-num
is the Julian day number to be interpreted.
Result
#INTERPRETJULIANDAYNO returns a space-separated list of the numeric year,
month, and day.
Example
24> #OUTPUT [#INTERPRETJULIANDAYNO 2448047]
1990 6 4
#INTERPRETJULIANDAYNO julian-day-num