std::difftime
std::difftime
Defined in header <ctime> | ||
---|---|---|
double difftime( std::time_t time_end, std::time_t time_beg ); |
Computes difference between two calendar times as std::time_t
objects (time_end - time_beg
) in seconds. If time_end
refers to time point before time_beg
then the result is negative.
Parameters
time_beg, time_end | - | times to compare |