[Zope] How do I test a date to be valid?

Andreas Jung andreas at andreas-jung.com
Mon Sep 22 01:59:49 EDT 2003


pass it to DateTime(). It should raise an exception for wrong dates.

-aj



--On Sonntag, 21. September 2003 22:54 Uhr -0700 Jeff Nielsen 
<Jeff at UgoFast.com> wrote:

> When a user inputs a date from a form, how can I test it to be valid?
> I'd want 01/15/2003 to test as valid, but 02/31/2003 to test as false.
>
> Jeff Nielsen
> http://www.UgoFast.com
>







More information about the Zope mailing list