TIME( ) Function

Returns the current system time in 24-hour, eight-character string (hh:mm:ss) format.

TIME([nExpression])

Return Value

Character

Parameters

  • nExpression
    The time returned includes hundredths of a second if nExpression is included. The numeric expression nExpression can be any value. However, the actual maximum resolution is about 1/18 second. Use SECONDS( ) for greater resolution.

See Also

Reference

CTOT( ) Function

DATE( ) Function

DATETIME( ) Function

DTOT( ) Function

HOUR( ) Function

SEC( ) Function

SECONDS( ) Function

SET SECONDS Command

SYS(2) - Seconds Since Midnight

Other Resources

Functions

Language Reference (Visual FoxPro)