Joe, XML Schema dateTimes follow ISO 8601 which supports time zones, if
specified.
In the case of:
<in2 s:type="y:dateTime">2006-01-01T05:00:00.000</in2>
there is no time zone specifies, hence the time zone is 'unknown'.
To specify GMT, i.e. Coordinated Universal Time, use:
<in2 s:type="y:dateTime">2006-01-01T05:00:00.000Z</in2>
If time zones are an issue for you then you need to consult the web service
provider to determine what they are providing. If they are not specifying a
time zone but are providing time-sensitive data then it is likely that they
are using what is local time for the host server. You could try to persuade
the provider to specify a time zone. Failing that, you will need to make
adjustments that take into consideration daylight-saving time, if necessary.
To make things worse (for some people), the U.S. Government are currently
involved in moves to change the starting and finishing dates for
daylight-saving time (possibly with effect from this Fall). This is likely
to have a knock-on effect in Canada but that too is complicated by the fact
that daylight-saving issues are determined at the provincial rather than the
federal level in Canada so synchronization with the U.S. may be partial!
Jeff Lawson
----- Original Message -----
From: "Joe Plautz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, July 25, 2005 3:59 PM
Subject: DateTime
> Hello,
>
> We're having some issues calling a web service with a datetime
> attribute. We're getting a date from the that looks like this,
>
> <in2 s:type="y:dateTime">2006-01-01T05:00:00.000</in2>
>
> which is causing issues all over the place. What I want to know is, what
> timezone does this default to? Will it be the default? Will it take into
> account for day light savings, because that's where our issue is. Any
> help will be appreciated.
>
> Thanks
> Joe Plautz
>
>
>
>