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