difftime

Returns the difference in time as a double precision number.

double difftime (time_t time1, time_t time0);

Required Header
<time.h>

Return Value

This function returns the difference of two times.

Parameters

time1

  The End time

time0

  The Start time

Remarks

The difftime function computes the difference between time0 and time1.

Time

See Also    time