Like ParseTime() above, but if the format string does not contain a UTC offset specification (%z/%Ez/%E*z) then the input is interpreted in the given TimeZone. This means that the input, by itself, does not identify a unique instant. Being time‐zone dependent, it also admits the possibility of ambiguity or non‐existence, in which case the "pre" time (as defined by TimeZone::TimeInfo) is returned. For these reasons we recommend that all date/time strings include a UTC offset so they're context independent.
Synopsis
Return Value
true upon successful parsing.
Parameters
Name |
Description |
format |
The strftime()‐like format string. |
input |
The string to parse. |
tz |
The time zone to interpret the input in when no offset is present. |
time |
Output parameter receiving the parsed time. |
err |
Output parameter receiving an error message on failure. |
Created with MrDocs