because CEST is UTC +2, those two dates are equivalent.

2002-06-11T22:00:00.000Z = 2002-06-12T00:00:00.000+2:00

on the wire, axis always use Zulu (UTC, GMT) to transmit date.

If you want to send the day date, you should use a string as you will
get different result from different platforms.

eric

[EMAIL PROTECTED] wrote:
Hi, All out There,
I am currently having the following prblem. I Use Axis 1.0 Downloaded it yesterday. Worked for server moths with beta 3.
In both versions i have the following problem:
I Wrote A Unit test:
String dateString1= "12-06-2002";
Date dateRet = DateConvertor.convertDateStringToDate(dateString1);
System.out.println("Date =" + dateRet);
kl.setAflosDatum(dateRet);
binding.search(kl);
The OutPut is the Following:
.Date =Wed Jun 12 00:00:00 CEST 2002
on the Console and
<aflosDatum xsi:type="*xsd:dateTime*">*2002-06-11T22:00:00.000Z*</aflosDatum>
in the Soap Message
Can some body give me a hint please.
Marteijn Nouwens



Reply via email to