Namespaces
Variants
Views
Actions

difftime

From cppreference.com
< c‎ | chrono
Revision as of 22:15, 2 November 2012 by P12bot (Talk | contribs)

Defined in header <time.h>
double difftime( time_t time2, time_t time1 );

Computes difference between two calendar times as Template:rlpt objects (time2 - time1) in seconds.

Contents

Parameters

time1, time2 - times to compare

Return value

difference between two times in seconds

Example

See also

C++ documentation for difftime