Time

Creates a time from string based on the specified format

Time("14:35:01",TimeFormatTemplateOption.`HH:mm:ss`) → 14:35:01.000
Time("11:01 UTC",TimeFormatTemplateOption.`HH:mmTZ`) → 01:01:00.000

Inputs

Time(string, [format])

  • string - A string that contains a date in a special format

  • [format] - Format of the string, Supported Date and Time Parts, ex. TimeFormatTemplateOption.HH:mmTZ

Last updated