Overview

I had the opportunity to convert Japanese calendar dates (wareki) to Western calendar dates using the calendar conversion service of HuTime, a temporal information analysis software, so here are my notes.

https://www.hutime.jp/

Conversion Example

Enter a Japanese calendar date in the {Japanese calendar date} field of the following URL:

https://ap.hutime.org/cal/?method=conv&ical=1001.1&itype=date&ival={Japanese calendar date}&ocal=101.1&oform=yyyy-MM-dd&out=json

For example, for “Keio 4, September 8” (the date the Meiji era began):

https://ap.hutime.org/cal/?method=conv&ical=1001.1&itype=date&ival=慶応4年9月8日&ocal=101.1&oform=yyyy-MM-dd&out=json

Other Usage

Detailed instructions are available at the following page. Please refer to it for parameter specifications and other details.

https://ap.hutime.org/cal/

Summary

I hope this serves as a useful reference for using the HuTime Web API.

I would also like to express my gratitude to the developers of HuTime for creating such a valuable tool.