absl::FromUnixSeconds

Creates an absl::Time from a count of seconds since the Unix epoch.

Synopsis

Declared in <absl/time/time.h>

constexpr
Time
FromUnixSeconds(int64_t s);

Return Value

The corresponding time.

Parameters

NameDescription
sThe count of seconds since the Unix epoch.