The dating code

This is because the Julian calendar (from which the Easter date is calculated) deviates from the Gregorian by one day for each century-year that is NOT a leap-year, i.e. (In the old Julian reckoning, EVERY 4th year was a leap-year.) This algorithm was first proposed by the mathematician/physicist Gauss.

Its complexity derives from the fact that the calculation is based on a combination of solar and lunar calendars.

thanks all Most spreadsheet programs have a rather nice little built-in function called NETWORKDAYS to calculate the number of business days (i.e.

Monday-Friday, excluding holidays) between any two given dates.

An example of this relates to a comment made by james at bandit-dot-co-dot-en-zed.

the dating code-72the dating code-64the dating code-43the dating code-2

= 0) elseif([email protected] == 0) else While this will work for the majority of years it will not work on years that are multiples of 100 but not multiples of 400 i.e.(2100).Day 1 of next week is Today is Sun , day 7 of this week.Day 1 of next week is Since PHP 5.6.23, this results in: Today is Sun , day 0 of this week.Since 5.6.23, Relative Formats for the start of the week align with ISO-8601 (1=Monday,7=Sunday).( can produce different, and seemingly incorrect, results depending on your PHP version and your choice of 'w' or 'N' for the Numeric representation of the day of the week: Prior to PHP 5.6.23, this results in: Today is Sun , day 0 of this week.

Leave a Reply