fork download
  1. # your code goes here
  2. from datetime import datetime
  3. date = datetime.strptime('2021-11-27 00:00', '%Y-%m-%d %H:%M')
  4. print(date)
Success #stdin #stdout 0.03s 10476KB
stdin
Standard input is empty
stdout
2021-11-27 00:00:00