<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Apache CXF DateTime Converter with different Timezone</title><link>https://answers.axonivy.com/questions/3560/apache-cxf-datetime-converter-with-different-timezone</link><description>&lt;p&gt;We have a simple WSDL which holds a datetime attribute. This attribute is converted correctly by the CXF library and holds the Ivy DateTime format in the generated ws class. When we pass a datetime into the ws call, the datetime is formatted as &lt;code&gt;2018-11-26T12:56:52+01:00&lt;/code&gt; but the ws provider (in our case SAP) needs the datetime within the UTC timezone, like: &lt;code&gt;2018-11-26T12:56:52Z&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;How can we change the format?
Is there a simple way, for example to pass the timezone to the Ivy DateTime object?
...or pass a SimpleDateFormat object for the string formatting?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3560/apache-cxf-datetime-converter-with-different-timezone" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 26 Nov 2018 10:15:29 -0500</lastBuildDate><item><title>Answer by SupportIvyTeam</title><link>https://answers.axonivy.com/questions/3560/apache-cxf-datetime-converter-with-different-timezone/3562</link><description>&lt;p&gt;May be the easiest way is to just send a String with the correct format.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SupportIvyTeam</dc:creator><pubDate>Mon, 26 Nov 2018 10:15:29 -0500</pubDate><guid>https://answers.axonivy.com/questions/3560/apache-cxf-datetime-converter-with-different-timezone/3562</guid></item></channel></rss>