Informats |
Category: | Date and Time |
Syntax | |
Syntax Description | |
Details | |
Examples | |
See Also |
Syntax |
DDMMYYw. |
Details |
The date values must be in the form ddmmyy<yy> or ddxmmxyy<yy>, where
is an integer from 01 through 31 that represents the day of the month.
is a two-digit or four-digit integer that represents the year.
is a separators that can be any special character or a blank.:
If you use separators, place them between all the values. Blanks can also be placed before and after the date. Make sure the width of the input field allows space for blanks and special characters.
Note: SAS interprets a two-digit year as belonging to the 100-year span that is defined by the YEARCUTOFF= system option.
Examples |
input calendar_date ddmmyy10.;
Data Line | Results |
---|---|
----+----1----+ |
|
160308 |
17607 |
16/03/08 |
17607 |
16-03-2008 |
17607 |
16 03 2008 |
17607 |
See Also |
| |||||||||
| |||||||||
| |||||||||
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.