Converts an absolute time to a second-aligned civil time in a time zone.
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);
The second-aligned civil time.
| Name | Description |
|---|---|
| t | The absolute time to convert. |
| tz | The time zone to convert in. |