J
JosephByrns
How do people cope with dates in multiple countries?
I have an Access database accessed by a VB.NET application, I construct
SELECT strings based on user inputs to get data from the Access database,
when entering a date value into the select string I use
date.ToLongDateString() to get an unambiguous date of the form 07 September
2006 (rather than 07/09/2006 which could of course be interpreted as
09/07/2006). Unfortunately it seems even the ToLongDateString method can
produce undesirable date strings in different countries, for example, giving
"Thursday, September 07, 2006" in US date format.
What are my options here?
Thanks.
I have an Access database accessed by a VB.NET application, I construct
SELECT strings based on user inputs to get data from the Access database,
when entering a date value into the select string I use
date.ToLongDateString() to get an unambiguous date of the form 07 September
2006 (rather than 07/09/2006 which could of course be interpreted as
09/07/2006). Unfortunately it seems even the ToLongDateString method can
produce undesirable date strings in different countries, for example, giving
"Thursday, September 07, 2006" in US date format.
What are my options here?
Thanks.