DT2DATE Function (DateTime)

Gets the date part of a DateTime object.

Syntax


Date := DT2DATE(Datetime)  

Parameters

Datetime
Type: DateTime

The DateTime of which to return the date part.

Property Value/Return Value

Type: Date

The date part of the DateTime object.

Remarks

If Datetime is undefined, then this function returns an undefined date.

See Also

DateTime Functions