absl::ToUnixSeconds

Converts an absl::Time to a count of seconds since the Unix epoch.

Synopsis

Declared in <absl/time/time.h>

int64_t
ToUnixSeconds(Time t);

Return Value

The count of seconds since the Unix epoch.

Parameters

NameDescription
tThe time to convert.