Last modified on 14 June 2009, at 16:22

C++ Programming/Code/Standard C Library/Functions/difftime

difftimeEdit

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