![]() Chapter Contents |
![]() Previous |
![]() Next |
| YYMMDDw. |
| Category: | Date and Time |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples | |
| See Also |
Syntax |
| YYMMDDw. |
| Default: | 6 |
| Range: | 6-32 |
| Details |
The date values must be in the form yymmdd or yyyymmdd, 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 yymmdd10.;
| Data Lines | Results |
|---|---|
----+----1----+ |
|
020316 |
15415 |
02/03/16 |
15415 |
02 03 16 |
15415 |
2002-03-16 |
15415 |
| See Also |
| Formats:
| |||||||||
| Functions:
| |||||||||
| Informats:
| |||||||||
| System
Option:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.