Returns the time (expressed as Universal Coordinated Time) elapsed since 00:00:00, January 1, 1970, in seconds.
#include <time.h> time_t time (time_t *time_location);Function Variants Compiling with the _DECC_V4_SOURCE and _VMS_V6_SOURCE feature- test macros defined enables a local-time-based entry point to this function that is equivalent to the behavior before OpenVMS Version 7.0.
typedef unsigned long int time_t;
x | The time elapsed past the epoch. |
(time_t)(-1) | Indicates an error. |