Writes date values as Taiwanese dates in the form yyyymmdd.
Category: |
Date and Time
|
Alignment: |
left
|
-
w
-
specifies the width of the output field.
The MINGUOw.
format writes SAS date values in the form yyyymmdd,
where
-
yyyy
-
is an integer that represents the year.
-
mm
-
is an integer that represents the month.
-
dd
-
is an integer that represents the day of
the month.
The Taiwanese calendar uses 1912 as the base year (01/01/01
is January 1, 1912). Dates before 1912 appear as a series of asterisks. Year
values do not roll around after 100 years; instead, they continue to increase.
The example table uses the following input values:
-
12054 is the SAS date value that
corresponds to
January 1, 1993.
-
18993 is the SAS date value that corresponds to
January 1, 2012.
-
-20088 is the SAS date value that corresponds
to January 1, 1905.
Statements |
Results |
|
----+----1
|
put date minguo10.;
|
0082/01/01
|
|
0101/01/01
|
|
**********
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.