1934 Was Not Such A Good Year

Mark Smith mark at maseurope.net
Fri Feb 3 09:03:09 EST 2006


I get the same result. Rev 2.6.1  Mac OS 10.4.4  PB G4 1.5

Doing this:

on mouseUp
   set useSystemDate to true
   set the centuryCutoff to 50

   repeat with n = 0 to 51
     put n into yy
     if length(yy) < 2 then put "0" before yy
     put "12/4/" & yy into tDate
     put tDate into origDate
     convert tDate to long date
     put origDate && "=" && tDate & cr after dList
   end repeat
   put dList

end mouseUp


I get:

12/4/00 = Wednesday, April 12, 2000
12/4/01 = Thursday, April 12, 2001
...
12/4/36 = Saturday, April 12, 2036
12/4/37 = Sunday, April 12, 2037
12/4/38 = Thursday, March 06, 1902
12/4/39 = Friday, March 06, 1903
...
12/4/49 = Thursday, March 06, 1913
12/4/50 = Wednesday, April 12, 1950
12/4/51 = Thursday, April 12, 1951

which suggests that Rev cannot deal with dates after 2037....

Mark



More information about the use-livecode mailing list