difftime()

This is a Hardware-specific function. It is not implemented in the Compiler.

Syntax
  #include <time.h>

  
  double difftime(time_t *t1, time_t t0);

  
Description

difftime() calculates the number of seconds between any two calendar times.

Return

The number of seconds between the two times, as a double.

See also

mktime() and

time()