Chris, If you look at the DateSerializer class, you'll see that it is implemented using default local timezone. You can create a similar serializer for your own use.
Hope this help, cheers, Hung -----Original Message----- From: Chris Means [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 12, 2002 9:42 AM To: [EMAIL PROTECTED] Subject: How are you handling dates? It seems as though the java.util.Date class is serializing dates in the local time zone, rather than the depicted Zulu time (GMT/UTC). Is anyone else doing Apache-SOAP development where they have to handle time zone issues? I'm storing everything in the backend database in GMT, so the middle tier expects to send and recieve all date/times in GMT. It's a client function to convert to the locale time if they need to. My problem is that unless I set the middle tier machine's time zone to GMT, dates keep on getting serialized into CST (my local time zone). Can anyone shed any light on this? TIA. -Chris
