julian_civil

Description

julian_civil converts a provided  Julian date into a Civil date.

Gory details

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

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

Code section

Sub julian_civil(ByRef iYear As Integer, _
                      ByRef iMonth As Integer, _
                      ByRef iDay As Integer)

    Call jdn_civil(julian_jdn(iYear, _
                              iMonth, _
                              iDay), _
                   iYear, iMonth, iDay)

End Sub

See also

julian_jdn, jdn_civil, civil_julian

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.