[futurebasic] Re: [FB] Date to week FN

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 1999 : Group Archive : Group : All Groups

From: Mark Lincoln <mlincoln@...>
Date: Thu, 25 Feb 1999 14:18:37 -0500
I've checked any calendar I can find (including AllDay on my Mac) and they all
agree that 2000 is a leap year.

Hans van Maanen wrote:
> 
> Guy Bonnot wrote:
> 
> >>    IF year MOD 4 = 0 THEN leap = 1 ELSE leap = 0'is year a leap year?
> >
> >This will give false result in 2000 which must give leap=0 because it's not
> >a leap year, as far as I know.
> >
> 
> No, 2000 leaps. The rule is: all years divisible by 4 are leap years,
> except if divisible by 100 and not by 400.
> So, the routine works from 1901 to 2099.
> 
> Hans van Maanen
> 
> --
> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>

-- 
  ...Mark Lincoln

  I am a Macintosh loyalist and a happy user
  of Microsoft software.  Thus, 99.7% of 
  everybody even remotely involved with
  computers has reason to find fault with me.