TIME Function

Returns the internal time of day.

Syntax

TIME( )

Comments

The TIME function returns a string value containing the internal time of day.

The internal time is the number of seconds past midnight.

Internal times are converted to external format with the English MT conversion, with the OCONV function, or with the English conversion using output string formatting.

Examples

X = TIME()

Assigns the string value of the internal time to variable X.

IF TIME() > 1000 THEN GOTO 10

Branches to statement 10 if more than 1000 seconds have passed since midnight.