I have datetime field in DB, which stores invoice dates (format is 7/15/2014 12:00:00 AM)
Then I have two datetimepickers, for From date and To date.
I am trying to get it through SQL query
>Where TRDate between @DT1 and @DT2 Order By TRRef DESC
The problem is, If I select 7/15/2014 using datetime picker, it does not show the data for 15th. For this I need to select 14th.
Isn't selected date inclusive?
Thanks