TIME

Section: Linux Programmer's Manual (2)
Updated: 24 July 1993
Index Return to Main Contents
 

NAME

time - get time in seconds  

SYNOPSIS

#include <time.h>

time_t time(time_t *t);  

DESCRIPTION

time returns the time since 00:00:00 GMT, January 1, 1970, measured in seconds.

If t is non null, the return value is also stored in the memory pointed to by t.  

CONFORMING TO

SVID, AT&T, POSIX, X/OPEN, BSD 4.3
Under BSD 4.3, this call is obsoleted by gettimeofday(2).  

SEE ALSO

ctime(3), date(1), ftime(3), gettimeofday(2)


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFORMING TO
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 12:25:33 GMT, March 22, 2025