Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gmtime(3F7768) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctime(3)

itime(3F7768)

idate(3F7768)

fdate(3F7768)

TIME(3F7768)  —  NEWS-OS Programmer’s Manual

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 NEWS−OS 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 NEWS−OS 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(3). 

FILES

/usr/lib/libU7768.a

SEE ALSO

ctime(3), itime(3F7768), idate(3F7768), fdate(3F7768)

NEWS-OSRelease 4.2.1R

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