islamic_julian

Description

islamic_julian converts a provided  Islamic (Hijri) date into a Julian date.

Gory details

The function presented here is just one example of an algorithm to convert an Islamic date to a Julian date. It starts by calling islamic_jdn to calculate the Julian day number for the provided Islamic date. From this Julian day number, the Christian year, month and day are derived by calling jdn_julian.

Note that the Islamic year is approximately 11 days shorter than the Julian year. This means that the Islamic calendar ``runs faster´´ and will eventually overtake the Julian Calendar.

Code section

Sub islamic_julian(ByRef iYear As Integer, _
                      ByRef iMonth As Integer, _
                      ByRef iDay As Integer)
    Call jdn_julian(islamic_jdn(iYear, _
                              iMonth, _
                              iDay), _
                    iYear, iMonth, iDay)
End Sub

See also

islamic_jdn, jdn_julian, julian_islamic

Last update

Julian Day Number: 2451995
Gregorian date: March 26, 2001
Julian date: March 13, 2001
Hebrew date: Nisan 2, 5761
Islamic date: Muharram 1, 1422

Back to Calendar Math.

mail me
Kees Couprie

Other pages by the same author.