Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

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

libfui.a

See also

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