Informats |
Category: | Date and Time |
Syntax | |
Syntax Description | |
Details | |
Examples | |
See Also |
Syntax |
JULIANw. |
Details |
The date values must be in the form yyddd or yyyyddd, where
is a two-digit or four-digit integer that represents the year.
is an integer from 01 through 365 that represents the day of the year.
Julian dates consist of strings of contiguous numbers, which means that zeros must pad any space between the year and the day values.
Julian dates that contain year values before 1582 are invalid for the conversion to Gregorian dates.
Note: SAS interprets a two-digit year as belonging to the 100-year span that is defined by the YEARCUTOFF= system option.
Examples |
input julian_date julian7.;
Data Line | Results* |
---|---|
----+----1 |
|
99075 |
14319 |
1999075 |
14319 |
* The input values correspond to the 75th day of 1999, which is March 16. |
See Also |
| |||||
| |||||
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.