Re: Output dateTime in canonical form

2009-10-26 Thread Anirban Mukherjee
ods? > > > > Cezar > > > > > > From: Anirban Mukherjee [mailto:amukh...@gmail.com] > Sent: Saturday, September 12, 2009 3:12 PM > To: user@xmlbeans.apache.org > Subject: Output dateTime in canonical form > > > > I wish to generate xml output where xs:date

RE: Output dateTime in canonical form

2009-10-09 Thread Cezar Andrei
Anirban, Did you look at GDateBuilder, specifically at using normalizeToTimeZone methods? Cezar _ From: Anirban Mukherjee [mailto:amukh...@gmail.com] Sent: Saturday, September 12, 2009 3:12 PM To: user@xmlbeans.apache.org Subject: Output dateTime in canonical form I wish

Output dateTime in canonical form

2009-09-12 Thread Anirban Mukherjee
I wish to generate xml output where xs:dateTime values will be generated in the canonical form rather than the natural form e.g. instead of 2009-10-13T01:11:17+05:30, I need 2009-10-12T19:41:17Z (converted to UTC with Z indicating that it is UTC) Is there a straightforward way to achieve this ?