time(3f)
NAME
time, ctime, ltime, gmtime − return system time
SYNTAX
integer*4 function time()
character*(*) function ctime(stime)
integer*4 stime
subroutine ltime(stime, tarray)
integer*4 stime
integer*2 tarray(9)
subroutine gmtime(stime, tarray)
integer*4 stime
integer*2 tarray(9)
DESCRIPTION
The time function returns the time since 00:00:00 GMT, Jan. 1, 1970, measured in seconds. This is the value of the UNIX system clock.
The ctime function converts a system time to a 24 character ASCII string. The format is described under ctime(3). No “newline” or NULL will be included.
Both ltime and gmtime disect a UNIX time into month, day, and so on, either for the local time zone or as GMT. The order and meaning of each element returned in tarray is described under ctime(3).
FILES
/usr/lib/libU77.a