C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
time
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The time function returns the number of seconds elapsed since
     midnight (00:00:00), December 31, 1899, Universal Coordinated Time,
     according to the system clock. The system time is first adjusted
     according to the TZ environment variable.
     See: _tzset
 
     The return value is stored in the location given by <timer>. This
     parameter can be NULL, in which case the return value is not
     stored.
 
     Return Value
 
     The time function returns the time in elapsed seconds. If the
     argument to the time function references a date before midnight,
     December 31, 1899, time returns -1 cast to type time_t.
                                    -♦-