Hi,
What happens is that the Web server is configured with a different language than your machine. ASP.net run by default with the timezone of the machine, but you can change this.
Go to your Web.config file, and add a <globalization> element under the <system.web> one, so that it looks that way (replace "fr-FR" with whatever you want the culture to be):
<configuration>
<system.web>
<globalization culture="fr-FR" uiCulture="fr-FR"/>
</system.web>
</configuration>
That way it will run equally on both your machine and the server.
Best regards,
Arnaud
Microsoft .net Training and Consulting
http://www.dreamdotnet.com/
