Is there a simple way to subtract the time from a datetime field, so when I compare dates, I'm always comparing the dates at 12:00 am?
I'd really prefer not to convert all my dates to strings.
Thanks,
Dante
dates: Comparing just the date parts of datetimes
|