4.3BSD-UWisc/man/cat3/time.3f




TIME(3F)            UNIX Programmer's Manual             TIME(3F)



NAME
     time, ctime, ltime, gmtime - return system time

SYNOPSIS
     integer function time()

     character*(*) function ctime (stime)
     integer stime

     subroutine ltime (stime, tarray)
     integer stime, tarray(9)

     subroutine gmtime (stime, tarray)
     integer stime, tarray(9)

DESCRIPTION
     _T_i_m_e returns the time since 00:00:00 GMT, Jan. 1, 1970,
     measured in seconds.  This is the value of the UNIX system
     clock.

     _C_t_i_m_e converts a system time to a 24 character ASCII string.
     The format is described under _c_t_i_m_e(3).  No 'newline' or
     NULL will be included.

     _L_t_i_m_e and _g_m_t_i_m_e disect a UNIX time into month, day, etc.,
     either for the local time zone or as GMT.  The order and
     meaning of each element returned in _t_a_r_r_a_y is described
     under _c_t_i_m_e(3).

FILES
     /usr/lib/libU77.a

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





















Printed 12/27/86          May 15, 1985                          1