opensolaris man page for difftime

Query: difftime

OS: opensolaris

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

difftime(3C)						   Standard C Library Functions 					      difftime(3C)

NAME
difftime - computes the difference between two calendar times
SYNOPSIS
#include <time.h> double difftime(time_t time1, time_t time0);
DESCRIPTION
The difftime() function computes the difference between two calendar times.
RETURN VALUES
The difftime() functions returns the difference (time1-time0) expressed in seconds as a double.
USAGE
The difftime() function is provided because there are no general arithmetic properties defined for type time_t.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
ctime(3C), attributes(5), standards(5) SunOS 5.11 24 Jul 2002 difftime(3C)
Related Man Pages
difftime(3) - linux
difftime(3) - opendarwin
difftime(3) - xfree86
difftime(3) - v7
difftime(3) - plan9
Similar Topics in the Unix Linux Community
knowledge
Time difference
Log Analysis with AWK with Time difference
Time difference command in Sun sorlaris
Need to get the time difference for all the transactions in a day