|
|
1.1 root 1: .TH TIME 3F "13 June 1983"
2: .UC 4
3: .SH NAME
4: time, ctime, ltime, gmtime \- return system time
5: .SH SYNOPSIS
6: .B integer function time()
7: .sp 1
8: .B character*(*) function ctime (stime)
9: .br
10: .B integer stime
11: .sp 1
12: .B subroutine ltime (stime, tarray)
13: .br
14: .B integer stime, tarray(9)
15: .sp 1
16: .B subroutine gmtime (stime, tarray)
17: .br
18: .B integer stime, tarray(9)
19: .SH DESCRIPTION
20: .I Time
21: returns the time since 00:00:00 GMT, Jan. 1, 1970, measured in seconds.
22: This is the value of the UNIX system clock.
23: .PP
24: .I Ctime
25: converts a system time to a 24 character ASCII string.
26: The format is described under
27: .IR ctime (3).
28: No 'newline' or NULL will be included.
29: .PP
30: .I Ltime
31: and
32: .I gmtime
33: disect a UNIX time into month, day, etc., either for the local time zone
34: or as GMT.
35: The order and meaning of each element returned in
36: .I tarray
37: is described under
38: .IR ctime (3).
39: .SH FILES
40: .ie \nM /usr/ucb/lib/libU77.a
41: .el /usr/lib/libU77.a
42: .SH "SEE ALSO"
43: ctime(3), itime(3F), idate(3F), fdate(3F)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.