std::time_t (3) - Linux Manuals

std::time_t: std::time_t

NAME

std::time_t - std::time_t

Synopsis


Defined in header <ctime>
typedef /* unspecified */ time_t;


Arithmetic type capable of representing times.
Although not defined, this is almost always an integral value holding the number of seconds (not counting leap seconds) since 00:00, Jan 1 1970 UTC, corresponding to POSIX_time.

See also


          returns the current time of the system as time since epoch
time (function)
          converts time since epoch to calendar time expressed as local time
localtime (function)
          converts time since epoch to calendar time expressed as Universal Coordinated Time
gmtime (function)