9.105. FDATE
9.105 FDATE — Get the current time as a string
- Description:
-
FDATE(DATE)
returns the current date (using the same format as CTIME) 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 ki