Chapter Contents

Previous

Next
MINGUOw.

MINGUOw.



Writes date values as Taiwanese dates in the form yyymmdd

Category: Date and Time
Alignment: left


Syntax
Syntax Description
Details
Examples

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 prior to 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.

SAS Statements Results

----+----1
put date minguo10.;
0082/01/01

0101/01/01

**********


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.