Informats for NLS |
Category: | Date and Time |
Syntax | |
Syntax Description | |
Details | |
Examples | |
See Also |
Syntax |
JDATEYMDw. |
specifies the width of the input field.
Default: | 12 |
Range: | 12-32 |
Details |
The date values must be in the form yymmmdd or yyyymmmdd.
You can separate the year, month, and day values by blanks or by special characters. Note that in the example, the date values in the data lines are separated by special characters.
When you use this informat, ensure that the width of the input field includes 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 |
The following examples show how to use the JDATEYMD informat to convert kanji values to SAS date values.
See Also |
Informats: | |||
System Options:
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.