9.98. FDATE
9.98 FDATE — Get the current time as a string
- Description:
-
FDATE(DATE)
returns the current date (using the same format asCTIME
) in DATE. It is equivalent toCALL CTIME(DATE, TIME())
.This intrinsic is provided in both subroutine and function forms; however, only one form can be used in any given program unit.
- Standard:
- GNU extension
- Class:
- Subroutine, function
- Syntax:
-
CALL FDATE(DATE)
.DATE = FDATE()
. - Arguments:
-
DATE The type shall be of type CHARACTER
of the default kind. It is anINTENT(OUT)
argument. If the length of this variable is too shor