Writes date values as the Julian day of the year.
Category: |
Date and Time
|
Alignment: |
right
|
-
w
-
specifies the width of the output field.
The JULDAYw.
format writes SAS date values in the form ddd,
where
-
ddd
-
is the number of the day, 1-365 (or
1-366 for leap years).
The example table uses the input values of 13515, which
is the SAS date value that corresponds to January 1, 1997, and 13589, which
is the SAS date value that corresponds to March 16, 1997.
SAS Statement |
Results |
|
----+----1
|
put date julday3.;
|
1
|
put date julday3.;
|
75
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.