Re: date format
Re: date format
- Subject: Re: date format
- From: ehsan saffari <email@hidden>
- Date: Tue, 27 Nov 2001 23:38:48 -0600
On 27/11/2001 23:10, Jan Erik Mostrvm <email@hidden> wrote:
>
I usually use something like this
>
>
on makeFormattedDate(ftype, currentDate)
>
copy currentDate to b
>
set month of b to January
<snip>
Dang! I just found one flaw with the French Vanilla,
it chokes on dates before Jan 1, 1904.
set x to 1 + ((currentDate - b + 1314864) div 2629728)
--> The result of a numeric operation was too large.
cheers
ehsan