Converts an absolute time to a year‐aligned civil time in a time zone.

Synopsis

Declared in <absl/time/time.h>

CivilYear
ToCivilYear(
    Time t,
    TimeZone tz);

Return Value

The year‐aligned civil time.

Parameters

Name

Description

t

The absolute time to convert.

tz

The time zone to convert in.

Created with MrDocs