mysql tanggal waktu format string 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')
Awais