Parse an ISO 8601 date and time string into a Unix timestamp.
Synopsis
Declared in <util/time.h>
std::optional<int64_t>
ParseISO8601DateTime(std::string_view str);
Return Value
The parsed Unix timestamp in seconds, or std::nullopt on failure.
Parameters
Name |
Description |
str |
ISO 8601 date and time string. |
Created with MrDocs