I'm fixing a query that takes date filter on specific date (e.g. 10/13/2010). The date field in the table source also contains time along with the date. (E.g. 13/10/2010 6:26:45 AM)
On the where clause of the query, how can I filter the date with the standard short date format? I tried 2 of the followings but didn't work.
On the where clause of the query, how can I filter the date with the standard short date format? I tried 2 of the followings but didn't work.
Code:
Method 1: WHERE Date = #10/13/2010# Method 2: WHERE Date BETWEEN #10/13/2010# AND #10/13/2010#
Comment