Compartir a través de


DTOT( ) Function

Returns a DateTime value from a Date expression.

DTOT(dDateExpression)

Return Values

DateTime

Parameters

  • dDateExpression
    Specifies the Date expression from which a DateTime value is returned.

Remarks

The format of the DateTime value DTOT( ) returns depends on the current SET DATE and SET MARK settings. If a century isn't supplied, the twentieth century is assumed.

DTOT( ) adds a default time of midnight (12:00:00 A.M.) to the date to produce a valid DateTime value.

Example

? DTOT({^1998-02-16}) && Displays 02/16/1998 12:00:00am

See Also

CTOT( ) | DATE( ) | SEC( ) | SECONDS( ) | SET SECONDS | TIME( )