Reads Japanese date values in the form eyymmdd
-
w
-
specifies the width of the input field.
The general form of a Japanese date is eyymmdd,
where
-
e
-
is the first letter of the name of the emperor
(Meiji, Taisho, Showa, or Heisei).
-
yy
-
is an integer that represents the year.
-
mm
-
is an integer from 01 through 12 that represents
the month.
-
dd
-
is an integer from 01 through 31 that represents
the day of the month.
The e value can be separated
from the integers by a period. If you omit e,
SAS uses the current emperor. You can separate the year, month, and day values
by blanks or any nonnumeric character. However; if delimiters are used, place
them between all the values. If you omit delimiters, be sure to use a leading
zero for days or months that are less than 10.
input nengo_date nengo8.;
put nengo_date date9.;
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.