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

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

Date: day month 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.


The calendar The calendarVersione italiana

Author: Eugenio Songia
Copy allowed for non-commercial use, with the citation of the author or the website
Privacy policy
Creation date: 26/5/2007. Last update: 1/5/2016