[Tutor] Date validation?
Eric Dorsey
dorseye at gmail.com
Thu Nov 6 20:27:53 CET 2008
Greetings,I have a program where I ask a user to enter a date in format
YYYY-MM-DD, and get a string like: '2008-10-25'
Can anyone tell me how I would verify this is a real date before allowing it
to be passed on to the next part of the program?
--
(e)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20081106/6559403b/attachment.htm>
More information about the Tutor
mailing list