Skip to content

difftime : subtract two times

#include <time.h>
double difftime(time_t tim1, time_t tim2);
```### Description
Subtracts the two times in the arguments: `tim1 - tim2'.### Returns
The difference (in seconds) between tim2 and tim1, as a double.
---
**Authoritative source**: BUSMASTER DITA help source `difftime.dita`, compiled into `BUSMASTER.CHM` with the application.