time.parseLocal

time.parseLocal(string)


Converts a string representing a local time into an internal UTC datetime object. If no time zone is present in the string it will use the time zone of the appliance.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