c:date:difftime

C++ Reference

difftime

Syntax:

    #include <ctime>
    double difftime( time_t time2, time_t time1 );

The function difftime() returns time2 - time1, in seconds.

Related Topics: asctime, gmtime, localtime, time