Returns a value representing the current system time in the HH:MM:SS format.

Syntax

TTIME( )

Description

The TTIME( ) function returns a time value that is your computer systems current time. When "SET HOURS" is set to 12, this value is displayed with an attached AM/PM indicator.

TTIME( ) is quite similar to the TIME( ) function. However, while the TIME( ) function results in a military time character string, TTIME( ) results in a time value.

Since the actual value of TTIME( ) is measured in seconds, adding 60 to TTIME( ) is the equilvalent of adding 1 minute.

TTIME( ) values can be converted to character strings using the TTOC( ) function, and back to values using CTOT( ).