Date & Time Tools

Date Converter — Gregorian, Hijri and Shamsi

Enter a date in any of the three calendars and see it in the others at once: Gregorian, Hijri (Qamari) and Shamsi (Solar Hijri), with the weekday and both the Afghan and Iranian month names. Works in both directions, in your browser.

By Aditya Kr Sharma

  • Free
  • Instant
  • No sign-up

Date converter

Convert a date

Nothing is uploaded. This tool runs entirely in your browser. There is no server to send it to, no copy kept anywhere, and it keeps working if you lose your connection after the page has loaded.

You get: The date in all three calendars Free, no sign-up

How to convert a date

  1. Choose the calendar your date is written in — Gregorian, Shamsi or Hijri.
  2. Enter the year, pick the month and type the day. “Use today” fills in today’s date.
  3. Read the same day in every other calendar, with the weekday. Copy the result if you need it.

Examples

Nowruz. 1 Farvardin (Hamal) 1405 Shamsi is 21 March 2026 Gregorian — the first day of the Afghan and Iranian new year.

A Gregorian date in Hijri. 1 October 2026 is in Rabi al-Thani 1448 in the Umm al-Qura calendar; the converter shows the exact day and the two tabular versions next to it.

A date that does not exist. 30 Esfand in a common Shamsi year is refused with a message, because that month has 29 days that year.

The three calendars

Gregorian is the international civil calendar. Shamsi (Solar Hijri) is the official calendar of Afghanistan and Iran: its year starts at the March equinox and its leap years follow the actual equinox, which is why it is not a simple repeating cycle. Afghanistan uses zodiac month names (Hamal, Sawr, Jawza…); Iran uses Persian names (Farvardin, Ordibehesht, Khordad…). Both refer to the same days. Hijri (Qamari) is the Islamic lunar calendar of about 354 days a year.

Where the conversion comes from

The page does not do its own calendar arithmetic. It asks your browser’s built-in calendar support (the Unicode ICU library used by your operating system) for each date and searches exactly for the reverse direction, so every result is checked both ways. Umm al-Qura is the Saudi civil calendar; the two tabular calendars are arithmetical. None of them can predict a locally sighted moon, so a religious date announced where you live may be a day different. For more detail see the separate Hijri date converter and Shamsi date converter.

Frequently asked questions

How do I convert Shamsi to Gregorian?

Choose “Shamsi (Solar Hijri)” as the calendar you are entering, type the year, pick the month and enter the day. The Gregorian date, the weekday and the Hijri dates appear at once. Afghan (Hamal, Sawr…) and Iranian (Farvardin, Ordibehesht…) month names are both shown.

Why can the Hijri date be one day different from my calendar?

Many countries start each Islamic month by sighting the new moon, which can only be confirmed on the evening itself. Calculated calendars such as Umm al-Qura are fixed in advance, so a locally announced date can differ by a day. For religious dates follow your local announcement.

Which Hijri calendar does this use?

Umm al-Qura, the Saudi civil calendar, by default — it is what most official conversions mean. The two tabular (arithmetical) versions are shown too, because some software uses them and they can differ by a day.

What is the Afghan date today?

Afghanistan uses the Solar Hijri (Shamsi) calendar with Arabic zodiac month names — Hamal, Sawr, Jawza and so on. Press “Use today” to see today’s Shamsi date with both naming traditions.

What is Qamari?

Qamari (lunar) is the name used in Afghanistan and Iran for the Islamic Hijri calendar, as opposed to the solar Shamsi calendar. On this page it is the Hijri result.

Why is a date I entered refused?

Because it does not exist in that calendar — for example 30 Esfand in a common Shamsi year, day 30 of a 29-day Hijri month, or 30 February. The converter says so instead of guessing a nearby day.

Is anything sent to a server?

No. The conversion uses the calendar support built into your browser. A browser without it gets a clear message rather than a possibly wrong date.

More in Date & Time Tools All tools