>>I just saw my cell phone calendar (Nokia 3100)...and andvance to the year 2009 and ...bualaaaaá...: 53 Weeks.
>>
>>Is it wrong?...I don´t think so.
>>
>>Carlos Burgos
>
>Carlos,
>
>The problem is that the "week" may be considered differently (depending on what is the first day of the week, whether one need to count partial week, etc). This will give you expected 53:
>
>?week({^2009-12-31},3,DOW({^2009-01-01}))
>
>
>But it is not the default approach used by foxpro.
Accourting to you formula, all years have 53.
Greg Reichert