[#absl-FromChrono-0d3]
= xref:absl.adoc[absl]::FromChrono
:relfileprefix: ../
:mrdocs:

Converts a std&colon;&colon;chrono&colon;&colon;seconds value to an absl&colon;&colon;Duration&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/Duration.adoc[Duration]
FromChrono(std::chrono::seconds const& d);
----

== Return Value

The equivalent `absl&colon;&colon;Duration`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *d*
| The chrono duration to convert&period;
|===


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