Date converter from hijri shamsi to gregorian
How Solar Hijri (Persian) to Gregorian date conversion works, what it changes, where errors creep in, and how to keep converted dates readable when shared.
Converting a Solar Hijri date (also called Hijri Shamsi or the Persian calendar) to the Gregorian calendar is not a cosmetic text effect. It replaces one set of numbers and month names with another set that points to the same day. If the source calendar is identified correctly and the converter applies the right rules, the meaning is preserved. If either step goes wrong, the result looks plausible but names a different day. This review explains what to check, where the conversion can fail, and how to keep the result usable once it is copied or shared.
Is a Shamsi-to-Gregorian conversion right for your use?
For most practical purposes, such as scheduling with people abroad, filling in forms that only accept Gregorian dates, or entering data into systems built around the Gregorian calendar, conversion is the right choice. Its main benefit is that readers and software that only understand Gregorian dates can use the information. The decisive tradeoff is that the converted date is only as reliable as two things you cannot see in the output: whether the input really was a Solar Hijri date, and which leap-year rules the converter used. The original notation is also lost unless you keep it.
- Conversion alone is usually enough when: the date is for planning, correspondence or general reference, and the reader uses the Gregorian calendar.
- Keep the original Solar Hijri date and add the Gregorian date beside it when: you are quoting or translating an official document, certificate, contract or record where the original wording carries legal or archival weight.
- Prefer a plain ISO-style Gregorian date (year-month-day with Western digits) when: the date will be stored, sorted, searched or exchanged between systems.
- Recheck the result against a second source when: the date falls in the last days of Esfand or the first days of Farvardin, or in a year you suspect is a leap year.
What the conversion actually changes
Text transformations such as reversal, mirrored lettering or Unicode font substitution rearrange or swap characters while the words stay the same, and some of them only change how text is displayed. A calendar conversion changes the stored characters entirely: the year, month and day numbers all change, and the month name changes from a Persian name to a Gregorian one. Two further changes are often bundled with it and are worth separating. One is digit substitution, such as replacing Persian digits with Western digits. The other is a change in writing direction when the date moves from right-to-left Persian text into left-to-right text. Each can be done, or go wrong, independently of the calendar arithmetic.
How Solar Hijri dates map to Gregorian dates
The Solar Hijri year begins at Nowruz, the Persian New Year, which falls on or near the March equinox, usually on March 20 or 21. It is the official calendar in Iran and is also used in Afghanistan, where the months traditionally carry different names. The first six months have 31 days each, the next five have 30, and the last month, Esfand, has 29 days in a common year and 30 in a leap year. Because the year is tied to the equinox, each Persian month starts on roughly the same Gregorian date every year, give or take a day.
| Month (Iranian name) | Days | Usually begins on or about |
| 1 Farvardin | 31 | March 21 |
| 2 Ordibehesht | 31 | April 21 |
| 3 Khordad | 31 | May 22 |
| 4 Tir | 31 | June 22 |
| 5 Mordad | 31 | July 23 |
| 6 Shahrivar | 31 | August 23 |
| 7 Mehr | 30 | September 23 |
| 8 Aban | 30 | October 23 |
| 9 Azar | 30 | November 22 |
| 10 Dey | 30 | December 22 |
| 11 Bahman | 30 | January 21 |
| 12 Esfand | 29 or 30 | February 20 |
The start dates in the table are approximate and can shift by one day depending on the year, so they are a sanity check rather than a conversion method. The year number follows a simple rule. From 1 Farvardin until December 31, add 621 to the Solar Hijri year. From January 1 until the end of Esfand, add 622. For example, spring 1403 is in 2024, while Bahman 1403 is in early 2025.
Worked example: 1 Mehr 1403 to Gregorian
1 Farvardin 1403 = 20 March 2024 (start of the year)
Days before Mehr = 6 months x 31 = 186
1 Mehr 1403 = 20 March 2024 + 186 days
= 22 September 2024
Year check = 1403 + 621 = 2024 (date is before Jan 1)
The one step a reader cannot easily do by hand is knowing exactly which day Nowruz falls on in a given year, because that decides where the count starts and whether Esfand has 29 or 30 days. The official calendar uses an astronomical rule based on the timing of the equinox. Many software converters use an arithmetic approximation of that rule instead. These methods agree for most years but can disagree for some, which shifts dates near the year boundary by one day. If a converter does not say which method it uses, treat dates in late Esfand and early Farvardin as needing a second check.
Do not confuse Hijri Shamsi with Hijri Qamari
The word Hijri on its own is ambiguous. Hijri Shamsi is the solar calendar described here. Hijri Qamari, the Islamic lunar calendar, counts from the same starting event but uses lunar months, so its year is shorter and its year numbers are higher and drift against the seasons. Running a Solar Hijri date through a lunar Hijri converter, or the other way round, produces a valid-looking Gregorian date that is wrong. Persian month names such as Farvardin, Mehr or Esfand indicate a Solar Hijri date. Month names such as Muharram, Ramadan or Shawwal indicate the lunar calendar. Searches for a Persian to Gregorian date converter and a Hijri Shamsi converter refer to the same Solar Hijri conversion.
Digits, separators and text direction
Persian text normally uses Extended Arabic-Indic digits (Unicode U+06F0 to U+06F9), which are different characters from the Arabic-Indic digits used in Arabic (U+0660 to U+0669) and from Western digits 0 to 9. Several of these digits look identical or nearly identical, but software treats them as distinct characters. Converting the digits is a character substitution: it does not change the meaning, but it does change whether a program can recognize the text as a number. A date that looks correct on screen may fail validation, sorting or search simply because it contains Persian or Arabic-Indic digits instead of Western ones.
Direction is a separate, display-level issue. Inside right-to-left Persian text, a date is stored in logical order, but the Unicode bidirectional algorithm decides how the numbers, separators and surrounding words are arranged on screen. Depending on the separators and neighboring text, a date can appear in an unexpected visual order even though the stored characters are correct. Some editors and tools fix this by inserting invisible directional marks, such as the left-to-right mark (U+200E) or right-to-left mark (U+200F). These marks are real characters: they survive copy and paste, and they can cause a date to fail parsing or exact-match search in another program.
Will the converted date stay readable after copying or sharing?
- Copy and paste: a Gregorian date written with Western digits and standard separators is the most portable form. If the output still contains Persian digits or invisible directional marks, the pasted text may look right but behave differently in the destination.
- Spreadsheets and databases: an unconverted Solar Hijri date such as 1403/07/01 may be left as text or misread as a Gregorian date in the year 1403, depending on the application and locale. Convert first, then enter the date in the format the destination expects.
- Search and sorting: year-month-day order with Western digits sorts correctly as plain text and is easy to search. Mixed calendars in one column do not sort meaningfully.
- Accessibility: a screen reader voices whatever characters are present, and its handling of Persian digits and mixed-direction text depends on the software, its language settings and how the page marks the language. Writing the month as a word, such as 22 September 2024, removes ambiguity for both listeners and readers. No assistive technology was tested for this review.
- Editing: invisible directional marks make cursor movement and deletion around a date feel erratic in some editors. If editing behaves oddly, retype the date or remove hidden characters.
A plain-text Gregorian equivalent with Western digits is needed whenever the date leaves a Persian-language context: forms, data files, international correspondence and anything a machine will process. Where the original date matters, keep both, for example by writing the Solar Hijri date followed by the Gregorian date in parentheses, so a reader can verify the conversion rather than trust it.
How to judge a converter before relying on it
- Confirm it converts Solar Hijri (Shamsi) dates, not lunar Hijri (Qamari) dates.
- Test a date you already know, such as the 1 Mehr 1403 example above, and compare the result.
- Test a date in the last days of Esfand and the first days of Farvardin, where leap-year handling shows up.
- Check the year offset: 621 for dates from Nowruz to December 31, 622 for January to the end of Esfand.
- Check which digits the output uses and whether it contains hidden directional characters, by pasting it into a plain-text editor or the destination system.
- Check whether it accepts Persian digits as input, or only Western digits.
- Do not assume how a tool handles the dates you enter based on its design or wording. If privacy matters, look for a stated policy or use an offline method.
What this review could not verify
No specific converter tool, website or app was evaluated, so this review makes no claims about any product's accuracy, leap-year method, interface, pricing or data handling. The calendar structure, year-offset rule and Unicode character details above are general, checkable principles. The approximate month start dates are guides, not exact conversions. Behavior in particular spreadsheets, browsers, editors and screen readers was not tested, and a date that displays correctly in one environment should not be assumed to work everywhere. For dates with legal or financial consequences, confirm the conversion against an authoritative calendar source.