2.15.5 difftime

Declaration:

double difftime(time_t time1, time_t time2);

Calculates the difference of seconds between time1 and time2 (time1-time2).

Returns the number of seconds.