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
2001/3/14 2001/03/14
Standardize full width characters to half width.
2001年3月14日 2001/03/14
Standardize calendar identifier to YYYY/MM/DD format.
3/14/2001 2001/03/14
Consider 4-digit number as year.
14-mar-01 2001/03/14
Standardize month name to digit. When the day and year are ambiguous, consider the last number to be the year.
H13.3.14 2001/03/14
Convert Nengo year to western year.
平成13年3月14日 2001/03/14
Convert Nengo year to western year.
平成十三年三月十四日 2001/03/14
Standardize Kanji numbers.
平成元年三月十四日 1989/03/14
Remarks This definition supports dates from 1901 (明治34年) to 2050 (平成62年). 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.