Checking for valid date input and convert appropriately

Ferrous Cranus nikos.gr33k at gmail.com
Thu Feb 21 18:18:44 EST 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