Home > Time Basic Data > Calendar > Calendar Conversion Example

Calendar Conversion Example

These are examples for calendar conversion. Please refer to these examples for usage of the calendar conversion form.

Form Japanese Calendar to Julian/Gregorian Calendar

Chinese and Arabic numeral can be used in Japanese Calendar. Additionally, zodiac signs can be used to specify year and day of month.

Calendar: Japanese Calendar   Calendar: Julian/Gregorian Calendar (reformed in 1582)
Format: None   Format: None
文政五年四月四日
承平五年十月廿一日
承和九年壬戌二月二十六日
天安元年二月丙申
寛治五年十一月朔日
推古天皇元年春正月壬寅朔丙辰
寛正5年11月26日
元禄14年3月14日
文化九壬申歳正月廿日
天安元年二月丙申
Convert To A.D. 1822-05-24
A.D. 0935-11-19
A.D. 0842-04-10
A.D. 0857-03-27
A.D. 1091-12-13
A.D. 0593-02-21
A.D. 1464-12-24
A.D. 1701-04-21
A.D. 1812-03-03
A.D. 0857-03-27

From Julian/Gregorian Calendar to Japanese Calendar

Date expressions in Julian/Gregorian Calendar are interpreted assuming that input format is yyyy-MM-dd or gg YYYY-MM-dd when a user do not specify the format.

Calendar: Julian/Gregorian Calendar (reformed in 1582)   Calendar: Japanese Calendar (Southern Court)
Format: None   Format: None
1822-05-24
0935-11-19
0842-04-10
0857-03-27
1091-12-13
0593-02-21
1464-12-24
A.D. 1701-04-21
A.D. 1812-03-03
A.D. 0857-03-27
Convert To 文政5年4月4日
承平5年10月21日
承和9年2月26日
天安1年2月28日
寛治5年11月1日
推古天皇1年1月15日
寛正5年11月26日
元禄14年3月14日
文化9年1月20日
天安1年2月28日

Specification of Output Format

Output format can be used to unify un-uniform date expression.

Calendar: Japanese Calendar   Calendar: Japanese Calendar (Southern Court)
None   Format: ggyK1b年(yW)MK1b月dK1日dE
文政五年四月四日
承平五年十月廿一日
承和九年壬戌二月二十六日
天安元年二月丙申
寛治五年十一月朔日
推古天皇元年春正月壬寅朔丙辰
寛正5年11月26日
元禄14年3月14日
文化九壬申歳正月廿日
天安元年二月丙申
Convert To 文政五年(1822)四月四日戊申
承平五年(935)一〇月二一日壬午
承和九年(842)二月二六日辛卯
天安元年(857)二月二八日丙申
寛治五年(1091)一一月一日乙酉
推古天皇元年(593)正月一五日丙辰
寛正五年(1464)一一月二六日乙亥
元禄一四年(1701)三月一四日辛丑
文化九年(1812)正月二〇日甲午
天安元年(857)二月二八日丙申

Specification of Input Format

Please specify input format when date expressions are not interpreted correctly. You can confirm that the date expressions are interpreted correctly when input and outpur calendars are specified the same ones.

Calendar: Japanese Calendar   Calendar: Japanese Calendar (Southern Court)
Format: gg*ya*年(*)Ma月da*   Format: None
文政五年(1822)四月四日
承平 五年(935)十月廿一日
承和九年壬戌(842)二月二十六日
天安(てんあん)元年(857)二月二八日
寛治五年(1091)一一月一日
推古天皇元年(593)正月丙辰
寛正5年(1464)11月26日
元禄14年3月14日
文化九年(1812)正月廿日
天安元年(857)二月丙申
Convert To 文政5年4月4日
承平5年10月21日
# Input date is invalid.
天安1年2月28日
寛治5年11月1日
推古天皇1年1月15日
寛正5年11月26日
# Input date is invalid.
文化9年1月20日
天安1年2月28日

"承和九年壬戌(842)二月二十六日" cannot interpreted according to the specified format because "壬戌" is placed after "年". "元禄14年3月14日" is not also acceptable because "(*)" is absence in the specified format.