Implementation status: implemented

Synopsis

#include <time.h>

double difftime(time_t time1, time_t time0);

Description

The difftime() function computes the difference between two calendar times (as returned by time()): time1- time0.

Arguments:
time1 - time in seconds since the Epoch.
time2 - the buffer to which the string representing local time is put.

Return value

The difftime() function returns the difference expressed in seconds.

Errors

No errors are defined.