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
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

If the input year is a two-digit value, it is assumed to be within the hundred year span with 2049 as the end of the span. For example, a year of 49 will be 2049, but a year of 50 will be 1950.