SAS Quality Knowledge Base for Contact Information 27

Date (Chinese Calendar)

Standardization Definition

Date (Chinese Calendar)
Description The Date (Chinese Calendar) standardization definition standardizes date expressions to Chinese calendar format.
Examples Input Output Explanation
2009/10/21 2009年10月21日 Standardize calendar identifier to YYYY年MM月DD日 format.
二零零九年十月二十一日 2009年10月21日  
14-Mar-01 2001年03月14日 Standardize month name. When the day and year are ambiguous, consider the last number to be the year.
2009/10/21 2009年10月21日 Convert full-width to half-width.
20091021 2009年10月21日 8 digits are considered to be YYYYMMDD format.
Remarks Supports dates from 1901 to 2050. Assumes two-digit years 00-29 are 2000-2029. Assumes two-digit years 30-99 are 1930-1999.