dateCalculations before 1970 and after 2037

Ernst M. Reicher e.reicher at aon.at
Sat Jan 5 12:46:01 EST 2002


> Date: Sat, 05 Jan 2002 11:53:07 +0000
> To: metacard at lists.runrev.com
> From: Hugh Senior <H at flexibleLearning.com>
> Subject: Re: dateCalculations before 1970 and after 2037
> Reply-To: metacard at lists.runrev.com

> >Does anybody know how to work around MCs inability to calculate dateTime
> >before 1970 and after 2037???
> >
> >Regards,
> >           Ernst
>
> Use the centuryCutOff function.
>
> /H

Hi,
as I understand in the manual the centuryCutOff function is just for
deciding what century if you use a 2-digit year...

e.g. try to get the weekday of a day 50 years and 10 days in the future:
get the date
convert it to dateitems
add 50 to item 1 of it
add 10 to item 3 of it
convert it to dateitems

invalid date

????
it doesn´t concern the centuryCutOff

Regards,
          Ernst




More information about the metacard mailing list