"Character to TIME"( ) converts a literal Time string to a Time value.

Syntax

CTOT(<expC>)

<expC>

The character expression, in the current Time format, to return as a Time value.

Description

Use CTOT( ) to convert a Time string to a Time value. Time strings returned by the Time( ) function result in an HH:MM:SS, military time format. When these strings are converted to values, through the CTOT( ) function, the result can be displayed with an attached AM/PM indicator when SET HOURS is set to 12.

When determining the duration between two events, subtracting the earlier from the later produces the lapsed time displayed in seconds.