persian_julian converts a provided Persian (Shamsi) date into a Julian date.
The function presented here is just one example of an algorithm to convert an Persian date to a Julian date. It starts by calling persian_jdn to calculate the Julian day number for the provided Persian date. From this Julian day number, the Christian year, month and day are derived by calling jdn_julian.
Sub persian_julian(ByRef iYear As Integer, _
ByRef iMonth As Integer, _
ByRef iDay As Integer)
Call jdn_julian(persian_jdn(iYear, _
iMonth, _
iDay), _
iYear, iMonth, iDay)
End Sub
persian_jdn, jdn_julian, julian_persian
| Julian Day Number: | 2452163 |
| Civil (Gregorian) date: | Monday, 10 September 2001 |
| Julian date: | Monday, 28 August 2001 |
| Hebrew date: | yom sheni, 22 Elul 5761 |
| Islamic date: | Al-`iTHnain, 22 Jumada II 1422 |
| Persian date: | Doshanbeh, 19 Shahrivar 1380 |
| Back to Calendar Math. | Other pages by the same author. |