Returns a TimeZone that is a fixed offset (seconds east) from UTC. Note: If the absolute value of the offset is greater than 24 hours you'll get UTC (i.e., no offset) instead.

Synopsis

Declared in <absl/time/time.h>

TimeZone
FixedTimeZone(int seconds);

Return Value

A time zone with the given fixed offset.

Parameters

Name

Description

seconds

The fixed offset east of UTC, in seconds.

Created with MrDocs