Date (Western Calendar)
Standardization Definition
Date (Western Calendar) | ||
---|---|---|
Description | The Date (Western Calendar) standardization definition standardizes date expressions to Western 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. |