CTOT( ) Function

See Also

Returns a DateTime value from a character expression.

Syntax

CTOT(cCharacterExpression)

Returns

DateTime

Arguments

cCharacterExpression

Specifies the character expression from which a DateTime value is returned.

Remarks

Note that CTOT( ) can create ambiguous DateTime values, and generates a compilation error when SET STRICTDATE is set to 2. Use DATETIME( ) instead to create nonambiguous Date values. For more information about ambiguous dates, see Year 2000 Date Support in Chapter 33, Programming Improvements, in the Programmer’s Guide.