Is there a way to compare two dates (including time), ignoring time?
I have 1/1/2009 8:00 and 1/1/2009 9:00, and I just want to know if he is on the same day without caring about what time he is.
I know I can convert the date and compare strings, but is there any other way?
source
share