My Web Application is split up in a WebGui and an WebService. The WebService is responsible for Business Logic and Database handling. From Javascript in the Browser I request data depending on a date and time that is an input from the Browser. This request gous to an .asmx Url in the WebGui and inside this function the webservice is called.
On my development system (windows xp) I get the right data, but when I install it on the test system I have to add the local time zone difference to get the right data.
For example I want the data for the date and time '21.07.2008 14:27:30' I have to send '21.07.2008 16:27:30'.
Why is the behaviour on the two systems different and what should I do to get on both systems the same behaviour?
- Web GUI is in asp.net 2.0 c#
- Web Service is in asp.net 1.1 c#
Update
This is no Problem of interpreting the date in different formats as the date and time is sent in the JSON Protocol as "\/Date(1221738803000)\/". It is a problem of interpreting/forgetting the time zone.