Possible Duplicate:
How can I specify the latest time of day with DateTime
I need to compare a date range and am missing rows who’s date is the upper comparison date but the time is higher than midnight. Is there a way to set the upper comparison’s time to 23:59:59?
This is a possible solution: