C
Chris Hough
Hi
I am using .NET v2.0 and recently sent an app to a client site that was
working correctly in our office (SQLServer 2005 Express). When setting a
date I use ToShortDateString() on a DateTime object and am getting back a
string in the form '2005-08-31'
However, at the new client site, (SQL Server 2005), the exact same
executable is producing the string '05-08-31', which does not work too well
when I want to set dates before 2000.
Can someone please explain what is happening, and, more importantly, what I
can do to fix it?
Thanks in advance,
Chris Hough
I am using .NET v2.0 and recently sent an app to a client site that was
working correctly in our office (SQLServer 2005 Express). When setting a
date I use ToShortDateString() on a DateTime object and am getting back a
string in the form '2005-08-31'
However, at the new client site, (SQL Server 2005), the exact same
executable is producing the string '05-08-31', which does not work too well
when I want to set dates before 2000.
Can someone please explain what is happening, and, more importantly, what I
can do to fix it?
Thanks in advance,
Chris Hough