Date bug?

Joe Lewis Wilkins pepetoo at cox.net
Sat Jan 1 23:30:07 CST 2011


Chipp,

I took it back to 1999 and 1984
 and it works correctly, so must be related to the millennium fixes.

Joe Lewis Wilkins
Architect & Director of Product Development for GSI
<www.glsysinc.com>


On Jan 1, 2011, at 8:58 PM, Chipp Walters wrote:

> Hey, can anyone try this or tell me why it doesn't work?
> If I use any other date than 11/07/2010, it generates the next date. But for
> some reason Nov 7 doesn't work?
> 
> on mouseUp
>   put "11/07/2010" into tDate
>   answer nextDayDate(tDate)
> end mouseUp
> 
> function nextDayDate pDate
>   convert pDate to seconds
> 
>   put 60*60*24 into tSecondsInDay
>   add tSecondsInDay to pDate
>   convert pDate to short date
>   return pDate
> end nextDayDate



More information about the use-livecode mailing list