Hello Desire2change,
That is because you are using Access. (At least that is my guess). Access has this known issue, regardless of any settings you use it will always interpret dates in mm/dd/yyyy format. The only way you can work around this is to use an unambiguous date format such as yyyy-mm-dd when constructing your query statement. Some people also like to use dd mmm yyyy though this does not always work well with different languages.
Regards,
TimCottee
Main Topics
Browse All Topics





by: neeraj523Posted on 2008-06-30 at 03:21:06ID: 21897885
The issue is that, in asp you set date format as dd/mm/yyyy but MS Access db is still having default date format as mm/dd/yyyy
better to use yyyy/mm/dd or dd/mmm/yyyy format in your queries to avoid any such ambiguity..