Carlos
2008-08-06 11:35:08 UTC
Hello,
I am trying works with diferent dateFormats in my app and I have many
problems:
If I use Spanish dateformat "dd/mm/yyyy" my queries works well when I use
dates:
Example SQL (MsAccess database)
"SELECT * ...vDate = #" + Date().FormatString("yyyy/mm/dd") + "#"
If I use German dateformat "dd.mm.yy" and I use
Date().FormatString("yyyy/mm/dd")
the result date is xxxx.xx.xx. Mask is not applied and query generates an
error.
Any suggerence ? common ways for avoid date problems in diferents formats
Thank you
I am trying works with diferent dateFormats in my app and I have many
problems:
If I use Spanish dateformat "dd/mm/yyyy" my queries works well when I use
dates:
Example SQL (MsAccess database)
"SELECT * ...vDate = #" + Date().FormatString("yyyy/mm/dd") + "#"
If I use German dateformat "dd.mm.yy" and I use
Date().FormatString("yyyy/mm/dd")
the result date is xxxx.xx.xx. Mask is not applied and query generates an
error.
Any suggerence ? common ways for avoid date problems in diferents formats
Thank you