H
Harold Crump
Greetings,
This is not strictly a ASP.NET question, but I am hoping someone can
help.
I have an ASP.NET web app that used the DateTime.Parse and Compare
methods a lot.
As expected, the Regional Settings/Culture on the server (Windows
Server 2003), affects the behaviour of those DateTime functions (date
formats in terms of US, UK, CAN, etc.).
Example - whether 2/10/2006 is interpreted as 2nd Oct or 10th Feb, etc.
My question is - exactly which setting in the Control Panel controls
that?
I have tried changing the date formats under Control Panel -> Regional
and Language Options, but that doesn't make a difference.
So where is this setting?
Thanks for any help.
-Harold
P.S. I know that I can control the behaviour of the function by
specifying a culture argument in the code, but I am looking for the
Control Panel setting that allows me to flip back and forth without
changing code.
This is not strictly a ASP.NET question, but I am hoping someone can
help.
I have an ASP.NET web app that used the DateTime.Parse and Compare
methods a lot.
As expected, the Regional Settings/Culture on the server (Windows
Server 2003), affects the behaviour of those DateTime functions (date
formats in terms of US, UK, CAN, etc.).
Example - whether 2/10/2006 is interpreted as 2nd Oct or 10th Feb, etc.
My question is - exactly which setting in the Control Panel controls
that?
I have tried changing the date formats under Control Panel -> Regional
and Language Options, but that doesn't make a difference.
So where is this setting?
Thanks for any help.
-Harold
P.S. I know that I can control the behaviour of the function by
specifying a culture argument in the code, but I am looking for the
Control Panel setting that allows me to flip back and forth without
changing code.