time(3F)

time, ctime, ltime, gmtime - return system time

As shipped in IRIX 6.5. First release of IRIX 6.5.

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 will be included.

     Ltime and gmtime disect a UNIX time into month, day, etc., either for the
     local time zone or as GMT.

     The argument stime 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/lib/libU77.a

SEE ALSO
     ctime(3), itime(3F), idate(3F), fdate(3F)

ORIGIN
     MIPS Computer Systems