
September 6th, 2004, 04:40 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
ASP.Net Server Configuration Questions (Date Styles)
I have a very basic .aspx page which is this:
<%@ Page Language="C#" %>
<script runat="server">
void page_Load(object sender, EventArgs e)
{
Response.Write(DateTime.Now.ToShortDateString());
}
</script>
Should be <b>03/09/2004</b>
When I run the page on my local machine the date is correctly displayed as 03/09/2004, however on my server it is in american format, and shown as 09/03/2004.
I've checked the settings on the server..... the date and time settings are in UK style and the Locale is set to UK. Does anyone have any suggestions? Thanks 
|