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?