Gregorian conversion to Hijri, Hebrew and Japanese-era dates, plus Easter
time_calendarConvert a Gregorian date to other calendar systems and back: Islamic (both the tabular civil calendar and the Umm al-Qura variant), Hebrew, Japanese imperial era, Republic of China, Buddhist and Persian. Also computes Easter Sunday for a year in both the Gregorian and Julian reckonings. Uses the calendar support built into the runtime, with the algorithm named in every response. Price: $0.05 per successful call, paid over x402 (USDC on Base).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | convert (default) a Gregorian date, or easter for a year. Accepted: convert, easter. | |
| to | No | Comma-separated calendar ids: islamic, islamic-umalqura, hebrew, japanese, roc, buddhist, persian. Default all. Accepted: islamic, islamic-umalqura, hebrew, japanese, roc, buddhist, persian. | |
| date | No | Gregorian date YYYY-MM-DD. Required when op=convert. Accepted: a calendar date as YYYY-MM-DD. | |
| rite | No | Easter reckoning: western (default) or eastern. Accepted: western, eastern. | |
| year | No | Year for op=easter, 326-9999. Accepted: integer 326-9999. |