difftime - compute the difference between two calendar time values
#include <time.h> double difftime(time_t time1, time_t time0);
The difftime() function computes the difference between two calendar times (as returned by time()): time1 - time0.
The difftime() function returns the difference expressed in seconds as a type double.
No errors are defined.
None.
None.
None.
asctime(), clock(), ctime(), gmtime(), localtime(), mktime(), strftime(), strptime(), time(), utime(), <time.h>.
Derived from the ISO C standard.