Forum Discussion

chris_reynolds's avatar
chris_reynolds
Occasional Contributor
14 years ago

Webservice Call sliding a datetime based on the time-zone

I am testing in NZ which is currently 13 hours different from UTC/GMT. I am running TC8.70.727.7



When I use javascript to pass in a datetime to webservice stub, in the watch variable list the variable is clearly 16/6/2012 but when it arrives inside the webservice, it has become 15/6/2012 at 11am.



Both my client and service are Windows machines in the same timezone with the same regional settings.



I am assuming that the generated webservice proxy has a datetime/timezone bug.
  • Hello Chris,


    It is difficult to say what exactly causes your date/time-zone issue.

    To help us investigate the problem, could you please post here the data that the LastRequest and LastResponse properties of your WebService object contain when you send the DateTime value to the tested web service?



    Thanks in advance.