Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql date time string format python

#try using
import datetime
dateime.datetime.strftime('%Y-%m-%d %H:%M:%S')
#for marshmellow schema
datetime.datetime.strftime('%Y-%m-%dT%H:%M:%S')
 
PREVIOUS NEXT
Tagged: #mysql #date #time #string #format #python
ADD COMMENT
Topic
Name
3+4 =