Previous Page | Next Page

Formats for NLS

MINGUOw. Format



Writes date values as Taiwanese dates in the form yyyymmdd.
Category: Date and Time
Alignment: left

Syntax
Syntax Description
Details
Examples
See Also

Syntax

MINGUOw.


Syntax Description

w

specifies the width of the output field.

Default: 8
Range: 1-10

Details

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.


Examples

The example table uses the following input values:

  1. 12054 is the SAS date value that corresponds to January 1, 1993.

  2. 18993 is the SAS date value that corresponds to January 1, 2012.

  3. -20088 is the SAS date value that corresponds to January 1, 1905.

Statements Results
 
----+----1
put date minguo10.;
0082/01/01
 
0101/01/01
 
**********


See Also

Informats:

MINGUOw. Informat

Previous Page | Next Page | Top of Page