BSD 4_2 development
[unix-history] / usr / man / man3 / fdate.3f
CommitLineData
3b9e8f30
C
1.TH FDATE 3F "13 June 1983"
2.UC 4
3.SH NAME
4fdate \- return date and time in an ASCII string
5.SH SYNOPSIS
6.B subroutine fdate (string)
7.br
8.B character*(*) string
9.sp 1
10.B character*(*) function fdate()
11.SH DESCRIPTION
12.I Fdate
13returns the current date and time as a 24 character string
14in the format described under
15.IR ctime (3).
16Neither 'newline' nor NULL will be included.
17.PP
18.I Fdate
19can be called either as a function or as a subroutine.
20If called as a function, the calling routine must define
21its type and length. For example:
22.nf
23
24 character*24 fdate
25 external fdate
26
27 write(*,*) fdate()
28
29.fi
30.SH FILES
31.ie \nM /usr/ucb/lib/libU77.a
32.el /usr/lib/libU77.a
33.SH "SEE ALSO"
34ctime(3), time(3F), itime(3F), idate(3F), ltime(3F)