4.2BSD/usr/man/man3/fdate.3f

.TH FDATE 3F "13 June 1983"
.UC 4
.SH NAME
fdate \- return date and time in an ASCII string
.SH SYNOPSIS
.B subroutine fdate (string)
.br
.B character*(*) string
.sp 1
.B character*(*) function fdate()
.SH DESCRIPTION
.I Fdate
returns the current date and time as a 24 character string
in the format described under
.IR ctime (3).
Neither 'newline' nor NULL will be included.
.PP
.I Fdate
can be called either as a function or as a subroutine.
If called as a function, the calling routine must define
its type and length. For example:
.nf

	character*24   fdate
	external       fdate

	write(*,*) fdate()

.fi
.SH FILES
.ie \nM /usr/ucb/lib/libU77.a
.el /usr/lib/libU77.a
.SH "SEE ALSO"
ctime(3), time(3F), itime(3F), idate(3F), ltime(3F)