1934 Was Not Such A Good Year

Charles Hartman charles.hartman at conncoll.edu
Fri Feb 3 09:13:29 EST 2006


Is this somehow (??) connected with the Unix Apocalypse that comes  
around in there somewhere if I recall correctly?

Charles

On Feb 3, 2006, at 9:03 AM, Mark Smith wrote:

> 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
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list