[#absl-ToCivilSecond] = xref:absl.adoc[absl]::ToCivilSecond :relfileprefix: ../ :mrdocs: Converts an absolute time to a second‐aligned civil time in a time zone. == Synopsis Declared in `<absl/time/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/CivilSecond.adoc[CivilSecond] ToCivilSecond( xref:absl/Time.adoc[Time] t, xref:absl/TimeZone.adoc[TimeZone] tz); ---- == Description Helpers for TimeZone::At(Time) to return particularly aligned civil times. Example: absl::Time t = ...; absl::TimeZone tz = ...; const auto cd = absl::ToCivilDay(t, tz); == Return Value The second‐aligned civil time. == Parameters [cols="1,4"] |=== | Name| Description | *t* | The absolute time to convert. | *tz* | The time zone to convert in. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#