TIME — Time function#
-
TIME()#
Returns the current time encoded as an integer (in the manner of the function
time(3)
in the C standard library). This value is suitable for passing to CTIME — Convert a time into a string, GMTIME — Convert time to GMT info, and LTIME — Convert time to local time info.- Returns:
The return value is a scalar of type
INTEGER(4)
.
- Standard:
GNU extension
- Class:
Function
- Syntax:
RESULT = TIME()
- See also:
DATE_AND_TIME — Date and time subroutine, CTIME — Convert a time into a string, GMTIME — Convert time to GMT info, LTIME — Convert time to local time info, MCLOCK — Time function, TIME8 — Time function (64-bit)