Compaq Fortran for Tru64 UNIX Alpha Systems V5.4
fdate (3f)
returns date and time in an ASCII string
Syntax
character*len fdate, d
external fdate
d = fdate( )
Description
The fdate function returns the current date and time as a 24-character
string in the format described in ctime(3). Neither `newline' nor NULL is
included.
The fdate function can be called as a function or as a subroutine. If
called as a function, the calling routine must define the type and length.
For example:
character*24 fdate
external fdate
...
write(*,*) fdate()
If fdate is called as a subroutine, the call is as follows:
character*24 d
external fdate
call fdate(d)
See Also
ctime(3), idate(3f), itime(3f), ltime(3f), time(3f)