TIME(3F) — FORTRAN LIBRARY ROUTINES
NAME
time, ctime, ltime, gmtime − return system time
SYNOPSIS
integer function time() character∗24 function ctime (stime)
integer∗4 stime subroutine ltime (stime, tarray)
integer∗4 stime, tarray(9) subroutine gmtime (stime, tarray)
integer∗4 stime, tarray(9)
DESCRIPTION
Time returns the time since 00:00:00 GMT, Jan. 1, 1970, measured in seconds. This is the value of the UNIX system clock.
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 order and meaning of the 9 elements returned in tarray is described under ctime(3).
FILES
/usr/lib/libU77.a
SEE ALSO
ctime(3), idate(3F), fdate(3F)
Sun Release 3.2 — Last change: 9 January 1984