You could try and turn your test date into days with DateToDays, then turn
it back into a date with the reverse function.. if the test date and the
"back into" date match, then your test date is valid.

----------
Bradly J. Barton - [EMAIL PROTECTED]
Jenies Technologies Incorporated
(972) 602-1835
http://www.JTI.net
http://HandAble.com

----- Original Message -----
From: "Dan Samber" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 5:07 PM
Subject: Valid dates


>
> 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
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to