Console
hyTags
Home
Home
Getting Started
Getting Started
Documentation
Documentation
time-from-string
Parses a time from a string using the specified format.
Parameter
Type
Description
string
string
The string to parse
format
string
The format pattern to use for parsing
return
time
The parsed time, or nil if parsing fails