[#absl-TimeFromTimespec] = xref:absl.adoc[absl]::TimeFromTimespec :relfileprefix: ../ :mrdocs: Converts a `timespec` to an `absl::Time`. == Synopsis Declared in `<absl/time/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/Time.adoc[Time] TimeFromTimespec(timespec ts); ---- == Return Value The equivalent time. == Parameters [cols="1,4"] |=== | Name| Description | *ts* | The `timespec` to convert. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#