How many weeks in a year

Hi,

I search how i could do to find if a year (for example 2004, 1989, 2058) has 52 or 53 weeks...
Have you a idea for me please???

Navigate:
Our Home Page -> Answers to Frequently Asked Questions -> Yesterdays Date/Date Arithmetic

and take a look at my datacalc routine.

Try to compute the Modified Julian Date of February 29 of the year in question. If you succeed you have a leap year which has too many days to be only 52 weeks.

A non-leap is 364 days which is exactly 7 * 52. In my mind such a year is always 52 weeks in length. But to determine if the year exactly comprises 52 weeks each starting with Sunday, compute the Day of the Week of Jan 1. If Jan 1 is a Sunday, the anwser is yes.