Go to main content
Oracle Developer Studio 12.5 Man Pages

Exit Print View

Updated: June 2017
 
 

fdate(3F)

Name

fdate - return date and time in an ASCII string

Synopsis

subroutine fdate (string)
character*24 string
character*24 function fdate()

Description

fdate returns the current date and time as a 24-character string in the format described under ctime(3C).

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.

Example:

 
character*24   fdate
write(*,*) fdate()
end

The output is formatted as follows:

 
Mon Aug 1 09:24:21 1994

Files

libfsu.a

See Also

ctime(3C), time(3F), idate(3F)