

time()                    Time Function                    time()




Get current time

#include <time.h>
#include <sys/types.h>
ttiimmee_tt ttiimmee(_t_p) ttiimmee_tt *_t_p;

time reads the current system  time.  tp points to a data element
of the  type time_t, which is defined in  the header file types.h
as being equivalent to a long.  COHERENT defines the current sys-
tem time as the number of seconds since January 1, 1970, 0h00m00s
GMT.

***** Example *****

For an example of this function, see the entry for asctime.

***** See Also *****

date, time (overview)





































COHERENT Lexicon                                           Page 1


