islamic_persian

Description

Converting a date from one calendar to another is very simpel, if you use the right jdn_calendar and calendar_jdn routines.

Gory details

First the Islamic date is converted to a Julian Day Number. Next the Julian Day Number is converted to a Persian Date.

Code section

Sub islamic_persian(ByRef iYear As Integer, _
                 ByRef iMonth As Integer, _
                 ByRef iDay As Integer)
    Call jdn_persian(islamic_jdn(iYear, _
                              iMonth, _
                              iDay), _
                    iYear, iMonth, iDay)
End Sub

See also

jdn_persian, islamic_jdn, persian_islamic

Last update

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.

mail me
Kees Couprie

Other pages by the same author.