Description
Evaluates the DateTime value specified and converts it to a Date value.
Arguments
dateTime is a DateTime value.
Action
Evaluates the DateTime value specified and converts it to a Date value.
Examples
DateTimeToDate(#11/01/1998 11:15:00 AM#)
Returns the Date value 11/01/1998.
Comments
For new formulas, you can use the
CDate or
DateValue functions instead of DateTimeToDate when converting a DateTime value to a Date value. The CDate and DateValue functions are more efficient since they are not UFLs.