On 4/20/01 6:07 PM, "Dan Samber" <[EMAIL PROTECTED]> wrote:
>
> Is there any way to check the validity of a date?
> I tried a couple of the built in functions (DateToDays) in the hope
> that they might return zero if the entered date was invalid, but
> (so far) no luck! DateToDays seems to always return a number....
>
> I can of course write my own.... but it CAN get nontrivial.
>
> Dan
>
Check out a little program over at http://www.ddhsoftware.com called ePoch
that handles checking for valid dates (that is dates between 1/1/1904 -
12/31/2031). The program is free and includes the source code.
Hope this helps,
-Mark
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/