absl::ToCivilMonth

Converts an absolute time to a month-aligned civil time in a time zone.

Synopsis

Declared in <absl/time/time.h>

CivilMonth
ToCivilMonth(
    Time t,
    TimeZone tz);

Return Value

The month-aligned civil time.

Parameters

NameDescription
tThe absolute time to convert.
tzThe time zone to convert in.