![]() Chapter Contents |
![]() Previous |
![]() Next |
| DATEw. |
| Category: | Date and Time |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples | |
| See Also |
Syntax |
| DATEw. |
| Default: | 7 |
| Range: | 7-32 |
| Tip: | Use a width of 9 to read a 4-digit year. |
| Details |
The date values must be in the form ddmmmyy or ddmmmyyyy, where
Note: SAS interprets a two-digit year as belonging to
the 100-year span that is defined by the YEARCUTOFF= system option. ![[cautionend]](../common/images/cautend.gif)
| Examples |
input calendar_date date11.;
| Data Lines | Results |
|---|---|
----+----1----+ |
|
16mar99 |
14309 |
16 mar 99 |
14309 |
16-mar-1999 |
14309 |
| See Also |
| Format:
| |||
| Function:
| |||
| System
Option:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.