time(3F)
time, ctime, ltime, gmtime - return system time
Showing IRIX 6.5.30 (default release). Last changed in IRIX 6.5.19.
NAME time, ctime, ltime, gmtime - return system time SYNOPSIS external time integer function time() subroutine time(chtime) character*8 chtime character*24 function ctime (stime) integer stime subroutine ltime (stime, tarray) integer stime, tarray(9) subroutine gmtime (stime, tarray) integer stime, tarray(9) DESCRIPTION The external function time returns the time since 00:00:00 GMT, Jan. 1, 1970, measured in seconds. This is the value of the UNIX system clock. The intrinsic subroutine time returns the time in the form 00:00:00 in the character string chtime. This is the default when time is not declared to be an external function. ctime converts a system time to a 24 character ASCII string. The format is described under ctime(3). No 'newline' or NULL is included. ltime and gmtime split a UNIX time into month, day, etc., either for the local time zone or as GMT. The stime argument contains the time in seconds since 00:00:00 GMT, January 1, 1970, returned by a previous call to time. The order and meaning of each element returned in tarray is described under ctime(3). FILES /usr/ucb/lib/libU77.a /usr/lib/libU77.a SEE ALSO ctime(3), itime(3F), idate(3F), fdate(3F)