persian_hebrew

Description

Converting a date from one calendar to another is very simpel, if you use the right jdn_<calendar> and <calendar>_jdn routines, in this case jdn_hebrew and persian_jdn.

Gory details

First the Persian date is converted to a Julian Day Number. next the Julian Day Number is converted to a Hebrew Date.

Code section

Sub persian_hebrew(ByRef iYear As Integer, _
                 ByRef iMonth As Integer, _
                 ByRef iDay As Integer)
    Call jdn_hebrew(persian_jdn(iYear, _
                              iMonth, _
                              iDay), _
                    iYear, iMonth, iDay)
End Sub

See also

jdn_hebrew, persian_jdn, hebrew_persian

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.