Reads Julian dates in the form yyddd or
yyyyddd.
-
w
-
specifies the width of the input field.
The date values must be in the form yyddd or yyyyddd,
where
-
yy or yyyy
-
is a two-digit or four-digit integer that
represents the year.
-
dd or ddd
-
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. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
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. |
|
Format:
|
|
Functions:
|
|
System Option:
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.