Checking for valid date input and convert appropriately

Ferrous Cranus nikos.gr33k at gmail.com
Fri Feb 22 00:18:44 CET 2013


Then i try to save the date as MySQL wants but it just aint happening:

date = datetime.strftime(date, '%Y-%m-%d')

Can you help me please save the user entered date to MySQL format?



More information about the Python-list mailing list