Compaq Fortran for Tru64 UNIX Alpha Systems V5.4
time, ctime, ltime, gmtime (3f)
Syntax
integer*4 time, c
external time
c = time( )
character*len ctime, str
integer*4 stime
external ctime
str = ctime ( stime )
integer*4 stime, tarray(9)
external ltime
call ltime ( stime, tarray )
integer*4 stime, tarray(9)
external gmtime
call gmtime ( stime, tarray )
Description
The time function returns the time since 00:00:00 Greenwich Mean Time
(GMT), Jan 1, 1970, measured in seconds. This is the value of the system
clock.
The ctime function converts a system time to a 24-character ASCII string.
The format is described in ctime(3). No 'newline' or NULL is included. The
integer time value to convert is stime, such as the value returned by the
time function.
The ltime and gmtime functions dissect system 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 in ctime(3).
See Also
ctime(3), fdate(3f), idate(3f), itime(3f)