Previous Page | Next Page

Informats for NLS

JDATEYMDw. Informat



Reads Japanese kanji date values in the format yymmmdd or yyyymmmdd.
Category: Date and Time

Syntax
Syntax Description
Details
Examples
See Also

Syntax

JDATEYMDw.


Syntax Description

w

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.  [cautionend]


Examples

The following examples show how to use the JDATEYMD informat to convert kanji values to SAS date values.

[code example for JDATEYMD informat]


See Also

Informats:

JNENGOw. Informat

System Options:

YEARCUTOFF= in SAS Language Reference: Dictionary

Previous Page | Next Page | Top of Page