Week number

Geoff Canyon gcanyon at inspiredlogic.com
Sun Apr 14 10:46:01 EDT 2002


At 10:34 AM +0200 4/14/02, yves COPPE wrote:
>>   if "." is not in theYear/4 then
>>     put "yes" into leapThisYear
>>     if "." is in theYear/100 then
>>       put "no" into leapThisYear
>>       if "." is not in theYear/2000 then
>>         put "yes" into leapThisYear

I'm pretty sure that last number should be 400, not 2000. Doesn't the week number also depend on how you count the first week of the year -- which depends on where Wednesday falls?
-- 

regards,

Geoff Canyon
gcanyon at inspiredlogic.com



More information about the use-livecode mailing list