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

.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)fdate.3f	6.2 (Berkeley) 5/27/86
.\"
.TH FDATE 3F "May 27, 1986"
.UC 5
.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)