CALCULATION OF THE DAY NUMBER IN A CERTAIN YEAR AND THE WEEK NUMBER

By knowing the date, calculate the day number in a certain year and the week number:

Date: day month (in figures) year

Day number in the year:

The day belongs to the week of the year.


M.Y.: if the week number "0" appears, it means that it's the last week of the previous year or the first week of the following year.


By knowing the day number in the year, find the date:

day number in the year year

Date:


The functions to calculate the day number in a certain year were got from: Meeus Jean, Astronomia con il computer, Hoepli, Milano, 1990.


Il calendario Il calendarioVersione italiana

Author: Eugenio Songia
Creation date: 26/5/2007.