SAS Quality Knowledge Base for Contact Information 27
Date (Japanese Calendar) | |||
---|---|---|---|
Description |
The Date (Japanese Calendar) standardization definition standardizes date expressions to Japanese calendar format (Nengo). |
||
Examples | Input | Output | Explanation |
2001/3/14 | 平成13年03月14日 | Standardize fullwidth characters to halfwidth | |
2001年3月14日 | 平成13年03月14日 | Standardize calendar identifier to EEYY年MM月DD日 format. | |
3/14/2001 | 平成13年03月14日 | Consider 4-digit number as year | |
14-mar-01 | 平成13年03月14日 | Standardize month name. When the day and year are ambiguous, consider the last number to be the year. | |
H13.3.14 | 平成13年03月14日 | Standardize Nengo expression. | |
平成十三年三月十四日 | 平成13年03月14日 | Standardize Kanji numbers. | |
大正十五年一二月二五日 | 昭和元年12月25日 | When a day is assigned to two nengo, the later of the two nengo is used. For example, 1926/12/25 is in 昭和元年, 1912/07/30 is in 大正元年. | |
S01年12月25日 | 昭和元年12月25日 | 01年 is expressed as 元年. | |
Remarks | This definition supports dates from 1901 (明治34年) to 2050 (平成62年). Assumes two-digit years 00-29 are 2000-2029. Assumes two-digit years 30-99 are 1930-1999. |
Documentation Feedback: yourturn@sas.com |
Doc ID: QKBCI_JAJPN_Std_Date-JACalendar.html |