fork(1) download
  1. from datetime import datetime
  2. date = datetime.strptime('Wed May 23 15:45:43 +0000 2018',
  3. '%a %b %d %H:%M:%S %z %Y')
  4. print(date)
  5.  
Success #stdin #stdout 0.05s 10692KB
stdin
Standard input is empty
stdout
2018-05-23 15:45:43+00:00