ASP.NET Dates Deployment Issue

Posted by Jonathan Stowell on Stack Overflow See other posts from Stack Overflow or by Jonathan Stowell
Published on 2010-04-27T14:18:10Z Indexed on 2010/04/27 14:33 UTC
Read the original article Hit count: 313

Filed under:
|
|

Hi guys,

I recently bought some webspace with dailyrazor.com. I have deployed an application I have been working on to the server and am currently trying to workout the bugs but I can't seem to solve this one.

I have set up my database in Visual Studio to use the one I have create with dailyrazor the same db the deployed version will use.

I am using British Dates and on my localhost datetime is displayed: 27/05/2010 09:00 However on the dailyrazor host it is displayed: 5/27/2010 9:00 AM

Short Dates e.g. 27/04/2010 display the same on both servers.

This is causing some issues when entering data as errors occur on date fields.

Any help would be appreciated.

Thanks,

Jon

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc