TTOD( ) Function

Example   See Also

Returns a Date value from a DateTime expression.

Syntax

TTOD(tExpression)

Returns

Date

Arguments

tExpression

Specifies a date and time expression from which TTOD( ) returns a Date value. tExpression must evaluate to a valid DateTime. If tExpression contains only a time, Visual FoxPro adds the default date of 12/30/1899 to tExpression and returns this default date.