Tarikh Shamsi B Miladi Better
برای تبدیل شمسی→جولیان و سپس جولیان→میلادی میتوان از فرمولهای زیر (خلاصه) استفاده کرد. اینجا فقط ساختار و نکات مهم آمدهاند؛ برای پیادهسازی دقیق از قطعهکد بخش بعد یا کتابخانههای استاندارد استفاده کنید.
نکات مهم:
Shamsi months follow the sun’s passage through zodiac signs:
This pattern is more mathematically consistent than Miladi’s arbitrary 28–31 day variation.
| Feature | Tarikh Shamsi | Tarikh Miladi | |---------|---------------|----------------| | Year length | 365 or 366 days (solar) | 365 or 366 days (solar) | | Leap year rule | Complex astronomical: based on actual equinox | Simple rule: divisible by 4 except centuries not divisible by 400 | | Month lengths | 6 months of 31 days, 6 of 30 days (last month 29/30) | Irregular: 28–31 days | | New Year | March 20/21 (vernal equinox) | January 1 (no astronomical event) | | Seasonal drift | None – year always starts at spring | Minimal but ~1 day drift per century relative to equinox |
The Solar Hijri calendar, also known as the Jalali calendar or Persian calendar, is one of the most precise solar calendars ever devised. It begins with the migration (Hijra) of Prophet Muhammad from Mecca to Medina in 622 CE, same as the Islamic lunar calendar, but crucially, it is solar-based.
Converting dates between the Persian (Shamsi) and Gregorian (Miladi) calendars is a common necessity for travelers, historians, and developers. While the logic seems complex, understanding the relationship between these two systems makes the process much easier. 📅 Understanding the Two Calendars The Solar Hijri (Shamsi) Calendar Based on the Earth's movement around the sun. Start Date: The spring equinox (Nowruz). Structure: tarikh shamsi b miladi better
The first 6 months have 31 days; the next 5 have 30; the last has 29 or 30. Official calendar of Iran and Afghanistan. The Gregorian (Miladi) Calendar Western solar calendar. Start Date: January 1st. Structure: 12 months of varying lengths (28 to 31 days). The international standard for business and travel. 🔄 How to Convert Tarikh Shamsi to Miladi
The simplest way to approximate the year conversion is by using a fixed mathematical offset. The Magic Number: 621
To find the Gregorian year from a Persian year, you generally add Spring/Summer/Fall: Add 621 (e.g., 1403 + 621 = 2024). Add 622 (e.g., the end of 1403 falls in early 2025). Step-by-Step Conversion Logic Identify the Day of the Year: Calculate how many days have passed since Nowruz. Account for Leap Years: Both calendars use leap years, but on different cycles. Adjust for the New Year:
Remember that the Persian New Year starts around March 21st. 🛠 Best Tools for Accurate Conversion
If you need precision for legal documents or flight bookings, manual calculation is risky. Here are the "better" ways to convert: Mobile Apps:
"Persian Calendar" (Android) or "Jalali Calendar" (iOS) provide instant toggles. Online Converters: Sites like Bahesab.ir are the gold standard for accuracy. Excel/Google Sheets: نکات مهم: Shamsi months follow the sun’s passage
You can use specialized scripts or plugins to automate thousands of dates at once. Programming Libraries: Developers should use Moment-Jalaali (JavaScript) or JalaliDateTime 💡 Quick Reference Table Persian Month Start Date (Approximate) Gregorian Equivalent Beginning of Spring Beginning of Summer September 23 Beginning of Autumn December 22 Beginning of Winter 🚀 Pro Tip for Travelers Always double-check your visa expiry dates . Most international visas are issued in
dates. If you confuse a Shamsi date for a Miladi one, you might overstay or miss your flight!
Converting between the Shamsi (Solar Hijri) and Miladi (Gregorian) calendars is more than just math—it is a bridge between two of the most sophisticated timekeeping systems in history. Quick Year Conversion
For a rough estimate of the year without a calculator, you can use these simple rules:
Shamsi to Miladi: Add 621 (if the date is between 1 Farvardin and 10 Dey) or 622 (if it is between 11 Dey and the end of the year).
Miladi to Shamsi: Subtract 621 (if the date is between March 21 and December 31) or 622 (if it is between January 1 and March 20). Top Digital Conversion Tools same as the Islamic lunar calendar
While manual math gives you a "ballpark" figure, these digital tools provide exact accuracy by accounting for complex leap year cycles:
Time.now Persian Calendar Converter: A reliable web tool that allows for bidirectional conversion and provides a detailed summary of the date's cultural context.
Iran Chamber Society Calendar Converter: One of the oldest and most trusted sources for precise astronomical conversions.
Afghan Date Converter: Excellent for those using Afghan month names (like Hamal and Sawr) instead of Iranian ones.
Chrome Web Store Extension: A handy browser plugin that automatically converts Miladi dates on websites into Shamsi as you browse. Why the Shamsi Calendar is Unique
Many experts consider the Solar Hijri calendar to be more accurate than the Gregorian system because it is observation-based: Iranian Calendar Converter - Iran Chamber Society