xref: /original-bsd/share/man/man3f/fdate.3 (revision c3e32dec)
Copyright (c) 1983, 1993
The Regents of the University of California. All rights reserved.

%sccs.include.proprietary.roff%

@(#)fdate.3 8.1 (Berkeley) 06/05/93

FDATE 3F ""
C 5
NAME
fdate - return date and time in an ASCII string
SYNOPSIS
subroutine fdate (string)

character*(*) string character*(*) function fdate()

DESCRIPTION
Fdate returns the current date and time as a 24 character string in the format described under ctime (3). Neither `newline' nor NULL will be included.

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:


 character*24 fdate
 external fdate

 write(*,*) fdate()

FILES
"SEE ALSO"
ctime(3), time(3F), itime(3F), idate(3F), ltime(3F)