BSD 4_4 release
[unix-history] / usr / src / share / man / man3f / idate.3
CommitLineData
7e0234f9
KB
1.\" Copyright (c) 1983, 1993
2.\" The Regents of the University of California. All rights reserved.
19e26cba 3.\"
ad787160
C
4.\" This module is believed to contain source code proprietary to AT&T.
5.\" Use and redistribution is subject to the Berkeley Software License
6.\" Agreement and your Software Agreement with AT&T (Western Electric).
ecee498b 7.\"
ad787160 8.\" @(#)idate.3 8.1 (Berkeley) 6/5/93
19e26cba 9.\"
ad787160 10.TH IDATE 3F "June 5, 1993"
19e26cba
KM
11.UC 5
12.SH NAME
13idate, itime \- return date or time in numerical form
14.SH SYNOPSIS
15.B subroutine idate (iarray)
16.br
17.B integer iarray(3)
18.sp 1
19.B subroutine itime (iarray)
20.br
21.B integer iarray(3)
22.SH DESCRIPTION
23.I Idate
24returns the current date in
25.I iarray.
26The order is: day, mon, year.
27Month will be in the range 1-12. Year will be \(>= 1969.
28.PP
29.I Itime
30returns the current time in
31.I iarray.
32The order is: hour, minute, second.
33.SH FILES
34.ie \nM /usr/ucb/lib/libU77.a
35.el /usr/lib/libU77.a
36.SH "SEE ALSO"
37ctime(3F), fdate(3F)