[#ParseISO8601DateTime]
= ParseISO8601DateTime
:mrdocs:

Parse an ISO 8601 date and time string into a Unix timestamp&period;

== Synopsis

Declared in `&lt;util&sol;time&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;int64&lowbar;t&gt;
ParseISO8601DateTime(std::string&lowbar;view str);
----

== Return Value

The parsed Unix timestamp in seconds, or std&colon;&colon;nullopt on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| ISO 8601 date and time string&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
