From: Paco on
As per the topic, I need to know how to change the default or the master
datetime format for Windows 2003 Server Standard Edition.

My problem is as such.

One of my applications is working under the IIS, and thus getting the date
and time from it. The IIS is running under local system and does not change
the date time when I change if for the logged in user.
Not even when I'm logged in as local administrator.

My program take in dd/MM/yyyy but however it seems like the server is always
default to M/d/yyyy or MM/dd/yyyy.

So, how can i change the default setting so that it will apply to the user
account IUSR or across all accounts that is used on the server?
From: Andrew Morton on
Paco wrote:
> As per the topic, I need to know how to change the default or the
> master datetime format for Windows 2003 Server Standard Edition.
>
> My problem is as such.
>
> One of my applications is working under the IIS, and thus getting the
> date and time from it. The IIS is running under local system and does
> not change the date time when I change if for the logged in user.
> Not even when I'm logged in as local administrator.
>
> My program take in dd/MM/yyyy but however it seems like the server is
> always default to M/d/yyyy or MM/dd/yyyy.
>
> So, how can i change the default setting so that it will apply to the
> user account IUSR or across all accounts that is used on the server?

So, your problem is with the /display/ of the date? You can never rely on a
default date-to-string conversion: always do it explicitly like
someDate.ToString("dd/MM/yyyy"). That is the only way to be sure it will do
exactly what you want.

Also, you'll be needing to explicitly parse input dates, if applicable,
rather than assuming the system "knows" what you meant.

HTH
--
Andrew