Chapter Contents

Previous

Next
MINGUOw.

MINGUOw.



Reads dates in Taiwanese form

Category: Date and Time


Syntax
Syntax Description
Details
Examples

Syntax

MINGUOw.

Syntax Description

w
specifies the width of the input field.
Default: 6
Range: 6-10


Details

The general form of a Taiwanese date is yyyymmdd, where

yyyy
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 Taiwanese calendar uses 1912 as the base year (01/01/01 is January , 1912). Dates prior to 1912 are not valid. Year values do not roll around after 100 years; instead, they continue to increase.

You can separate the year, month, and day values with any delimiters, such as blanks, slashes, or dashes, that are permitted by the YYMMDDw. informat. 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 less than 10.


Examples

input date minguo10.;
put date date9.;

Data Lines Results
----+----1----+

49/01/01
01JAN1960
891215
15DEC2000
103-01-01
01JAN2014


Chapter Contents

Previous

Next

Top of Page

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