mysql date time string format python

Solutions on MaxInterview for mysql date time string format python by the best coders in the world

showing results for - "mysql date time string format python"
Godfrey
20 Aug 2019
1#try using
2import datetime
3dateime.datetime.strftime('%Y-%m-%d %H:%M:%S')
4#for marshmellow schema
5datetime.datetime.strftime('%Y-%m-%dT%H:%M:%S')