![]() Chapter Contents |
![]() Previous |
![]() Next |
| JULIANw. |
| Category: | Date and Time |
| Alignment: | left |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples | |
| See Also |
Syntax |
| JULIANw. |
| Default: | 5 |
| Range: | 5-7 |
| Tip: | If w is 5, the JULIANw. format writes the date with a two-digit year. If w is 7, the JULIANw. format writes the date with a four-digit year. |
| Details |
The JULIANw. format writes SAS date values in the form yyddd or yyyyddd, where
| Examples |
The example table uses the input value of 15342, which is the SAS date value that corresponds to January 2, 2002 (the 2nd day of the year).
| SAS Statements | Results |
|---|---|
----+----1 |
|
put date julian5.; |
02002 |
put date julian7.; |
2002002 |
| See Also |
| Functions:
| |||||
| Informat:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.