Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ time(3F) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctime(3C)

itime(3F)

idate(3F)

fdate(3F)

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

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(3C).  No ’newline’ or NULL will be included. 

ltime and gmtime dissect 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 tarray is described under ctime(3C). 

FILES

/usr/lib/libU77.a

SEE ALSO

ctime(3C), itime(3F), idate(3F), fdate(3F)

NOTES

When compiling source with the -Qocs option, an explicit underscore needs to be added to the end of the routine names.  When compiling source with the -Qocs option, the function time is not accessible because the 88Open OCS standard specifies that CHARACTER values be returned differently.

CX/UX Hf77 Fortran Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026