DAYS1900TOYMDHMS
DAYS1900TOYMDHMS(day1900) Converts Julian days since 1-Jan-1900 to values year, month, day, hour, minute, second.
|
Argument: |
day1900 |
Julian day counted from 1-jan-1900 |
|
Result Axes: |
X |
Inherited from argument |
|
Y |
Inherited from argument |
|
|
Z |
ABSTRACT (results occupy indices 1...6) |
|
|
T |
Inherited from argument |
This function applies only to time in the standard, Gregorian calendar.
Example:
Create a variable based on a time axis. List the result of DAYS1900TOYMDHMS.
yes? DEF AXIS/T=28-JAN-2003:3-FEB-2003:1/UNITS=days/T0=1-JAN-1900 timeax
yes? LET tday = T[gt=timeax]
yes? LIST days1900toymdhms(tday)
VARIABLE : DAYS1900TOYMDHMS(TDAY)
SUBSET : 6 by 9 points (Z-TIME)
1 2 3 4 5 6
1 2 3 4 5 6
28-JAN-2003 00 / 1: 2003. 1. 28. 0. 0. 0.
29-JAN-2003 00 / 2: 2003. 1. 29. 0. 0. 0.
30-JAN-2003 00 / 3: 2003. 1. 30. 0. 0. 0.
31-JAN-2003 00 / 4: 2003. 1. 31. 0. 0. 0.
01-FEB-2003 00 / 5: 2003. 2. 1. 0. 0. 0.
02-FEB-2003 00 / 6: 2003. 2. 2. 0. 0. 0.
03-FEB-2003 00 / 7: 2003. 2. 3. 0. 0. 0.