time.parseUTC

time.parseUTC(string)


Takes a UTC time string and converts it into an internal datetime object. It is not adjusted for timezones or daylight saving time.


A wide range of date formats are supported including:

European formats

  • dd.mm.yyyy
  • dd/mm/yyyy
  • dd-mm-yyyy

US formats

  • mm/dd/yyyy
  • mm-dd-yyyy

ISO formats

  • yyyy/mm/dd
  • yyyy-mm-dd
  • yyyymmdd

Literal formats

  • day, month, year
  • month, day, year
Was this page helpful? Yes No Submitting... Thank you

Comments