473,467 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

new server 2003 installation using American dateformat

Hi

I have installed my web app on a Windows 2003 server.
The Regional and Language was originally set to American.

Now we have changed it to UK, and are trying to get the DateFormat right.

However, my Web app is not accepting dates of format dd/MM/yyyy only
MM/dd/yyyy

HOw can i changes this.
It reads the right format in the Regional and Language settings in control
panel.

When i do a DateTime.Now.ToString() it produces 8/18/2005 4:09:13 PM instead
of 18/8/2005 4:09:13PM

Please help
Nov 19 '05 #1
2 1529
Change the culture and UIculture settings in web.config to "en-GB".

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Grant Merwitz" <gr***@workshare.com> wrote in message
news:eX**************@TK2MSFTNGP12.phx.gbl...
Hi

I have installed my web app on a Windows 2003 server.
The Regional and Language was originally set to American.

Now we have changed it to UK, and are trying to get the DateFormat right.

However, my Web app is not accepting dates of format dd/MM/yyyy only MM/dd/yyyy

HOw can i changes this.
It reads the right format in the Regional and Language settings in control panel.

When i do a DateTime.Now.ToString() it produces 8/18/2005 4:09:13 PM instead of
18/8/2005 4:09:13PM

Please help

Nov 19 '05 #2
Thanks man, you rock!
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:uI**************@TK2MSFTNGP15.phx.gbl...
Change the culture and UIculture settings in web.config to "en-GB".

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Grant Merwitz" <gr***@workshare.com> wrote in message
news:eX**************@TK2MSFTNGP12.phx.gbl...
Hi

I have installed my web app on a Windows 2003 server.
The Regional and Language was originally set to American.

Now we have changed it to UK, and are trying to get the DateFormat right.

However, my Web app is not accepting dates of format dd/MM/yyyy only
MM/dd/yyyy

HOw can i changes this.
It reads the right format in the Regional and Language settings in
control panel.

When i do a DateTime.Now.ToString() it produces 8/18/2005 4:09:13 PM
instead of 18/8/2005 4:09:13PM

Please help


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: David Rose | last post by:
Does the Oracle work with Windows Server 2003 and .NET? I am trying to run an ASP.NET app and keep getting the error "System.DllNotFoundException: Unable to load DLL (OraOps9.dll)". The dll in in...
2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
5
by: Michael C | last post by:
While I think just about every IT expert out here agrees that the first commandment is Thou Shalt Not Install Beta Software in a Production Environment, the corollary to this would have to be that...
2
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000...
1
by: Jan Olof Jonsson | last post by:
Hello. We hawe a problem with the Excel-program on a public webserver. Excel is installated to convert/produce HTML - documents to a website on the server when client users in a webinterface...
5
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development...
7
by: Cliff Harris | last post by:
I don't currently have an installation of Windows 2003 server, or I could answer this myself. After having a client install ASP.NET on Windows 2003, I then tried to find the aspnet_wp.exe process...
1
by: gerr | last post by:
Visual studio 2003 "HTTP/1.1 500 Internal Server Error" when trying to create a new Asp.net site with Visual Studio 2003 on localServer XP Pro/IIS 5.1. Everything worked fine prior to installing...
0
by: Kris Mattheus | last post by:
A little background: I've been using web services successfully for a while now. My web server is a Windows CE 4.2 device and my client is a windows C# application created with Visual Studio 2003....
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.