Doing this manually every time is error-prone. Use these reliable methods:
Would you like a printable one-page conversion chart for 1390–1410 Shamsi (2011–2031 Miladi)? tarikh shamsi b miladi
Leap years occur every 4 or 5 years. This is typically managed through a 33-year cycle (8 leap years) or, more rarely, a 29-year cycle. Quick Conversion Guide Doing this manually every time is error-prone
(Solar Hijri) is the official calendar of Iran and Afghanistan. It begins with the Hegira (prophet Muhammad’s migration from Mecca to Medina in 622 CE), but unlike the Lunar Hijri calendar, it’s based on the vernal equinox (first day of spring / Nowruz). This is typically managed through a 33-year cycle
For precise conversion—especially for legal deadlines, birthdays, or historical dates—always use a verified online calendar converter or a dedicated app, as leap year variations can cause a one-day shift. However, for day-to-day reference, adding 621 to the Shamsi year (after spring) is a reliable and easy method.
echo "1401/07/15" | persian-calendar --to-gregorian