more fixes
[unix-history] / usr / src / share / man / man3f / fdate.3
CommitLineData
fb83c14e
KM
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.\"
2e3094cb 5.\" @(#)fdate.3 6.1 (Berkeley) %G%
fb83c14e 6.\"
2e3094cb 7.TH FDATE 3F ""
fb83c14e
KM
8.UC 5
9.SH NAME
10fdate \- return date and time in an ASCII string
11.SH SYNOPSIS
12.B subroutine fdate (string)
13.br
14.B character*(*) string
15.sp 1
16.B character*(*) function fdate()
17.SH DESCRIPTION
18.I Fdate
19returns the current date and time as a 24 character string
20in the format described under
21.IR ctime (3).
22Neither 'newline' nor NULL will be included.
23.PP
24.I Fdate
25can be called either as a function or as a subroutine.
26If called as a function, the calling routine must define
27its type and length. For example:
28.nf
29
30 character*24 fdate
31 external fdate
32
33 write(*,*) fdate()
34
35.fi
36.SH FILES
37.ie \nM /usr/ucb/lib/libU77.a
38.el /usr/lib/libU77.a
39.SH "SEE ALSO"
40ctime(3), time(3F), itime(3F), idate(3F), ltime(3F)