|
|
1.1 root 1: .\" Copyright (c) 1983 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)time.3f 6.1 (Berkeley) 5/15/85
6: .\"
7: .TH TIME 3F "May 15, 1985"
8: .UC 5
9: .SH NAME
10: time, ctime, ltime, gmtime \- return system time
11: .SH SYNOPSIS
12: .B integer function time()
13: .sp 1
14: .B character*(*) function ctime (stime)
15: .br
16: .B integer stime
17: .sp 1
18: .B subroutine ltime (stime, tarray)
19: .br
20: .B integer stime, tarray(9)
21: .sp 1
22: .B subroutine gmtime (stime, tarray)
23: .br
24: .B integer stime, tarray(9)
25: .SH DESCRIPTION
26: .I Time
27: returns the time since 00:00:00 GMT, Jan. 1, 1970, measured in seconds.
28: This is the value of the UNIX system clock.
29: .PP
30: .I Ctime
31: converts a system time to a 24 character ASCII string.
32: The format is described under
33: .IR ctime (3).
34: No 'newline' or NULL will be included.
35: .PP
36: .I Ltime
37: and
38: .I gmtime
39: disect a UNIX time into month, day, etc., either for the local time zone
40: or as GMT.
41: The order and meaning of each element returned in
42: .I tarray
43: is described under
44: .IR ctime (3).
45: .SH FILES
46: .ie \nM /usr/ucb/lib/libU77.a
47: .el /usr/lib/libU77.a
48: .SH "SEE ALSO"
49: 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.