<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TalendDate format string for timestamp with timezone in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367674#M131027</link>
    <description>Thanks. &lt;BR /&gt;That worked insofar as as making the timestamp value palatable to Talend. The problem is that ParseDate now insists on converting the time zone from +9:30 (South Australia) to Eastern European time!!</description>
    <pubDate>Fri, 14 Jun 2013 03:40:10 GMT</pubDate>
    <dc:creator>mario_mirabile</dc:creator>
    <dc:date>2013-06-14T03:40:10Z</dc:date>
    <item>
      <title>TalendDate format string for timestamp with timezone</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367670#M131023</link>
      <description>Hi
&lt;BR /&gt;I have the following code in a tMap - TalendDate.parseDate("yyyy-MM-dd'T'hh:mm:ssz", stgTVP6.MOMENT ) .
&lt;BR /&gt;When it runs, I get the following error
&lt;BR /&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2004-08-12T00:00:00+09:30"
&lt;BR /&gt;Can someone help me with the correct format string for a timestamp string with the format "2004-08-12T00:00:00+09:30".
&lt;BR /&gt;Thanks
&lt;BR /&gt;Mario</description>
      <pubDate>Wed, 12 Jun 2013 07:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367670#M131023</guid>
      <dc:creator>mario_mirabile</dc:creator>
      <dc:date>2013-06-12T07:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate format string for timestamp with timezone</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367671#M131024</link>
      <description>try this one &lt;BR /&gt;String date = "2004-08-12T00:00:00+09:30".replaceAll("\\+0(){1}\\:00", "+0$100");&lt;BR /&gt;System.out.println( TalendDate.parseDate("yyyy-MM-dd'T'HH:mm:ssZ", date));</description>
      <pubDate>Wed, 12 Jun 2013 08:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367671#M131024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-12T08:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate format string for timestamp with timezone</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367672#M131025</link>
      <description>Thanks, but I'm still getting exactly the same error. When I check the effect of the replaceAll on the input value, it hasn't changed the input string at all. 
&lt;BR /&gt;I'm not very good at regular expressions - what are you trying to replace, and with what?</description>
      <pubDate>Thu, 13 Jun 2013 06:59:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367672#M131025</guid>
      <dc:creator>mario_mirabile</dc:creator>
      <dc:date>2013-06-13T06:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate format string for timestamp with timezone</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367673#M131026</link>
      <description>"z" in a date format string is e.g. GMT, PST. "Z" in a date format string is a time offset e.g. +1000. So you should just need to get rid of the ":" in the time offset and change your date format string to use "Z". 
&lt;BR /&gt;Try: 
&lt;BR /&gt;TalendDate.parseDate("yyyy-MM-dd'T'HH:mm:ssZ", stgTVP6.MOMENT.replaceAll(" 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;\\d{2})$","$1"));</description>
      <pubDate>Fri, 14 Jun 2013 01:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367673#M131026</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-06-14T01:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate format string for timestamp with timezone</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367674#M131027</link>
      <description>Thanks. &lt;BR /&gt;That worked insofar as as making the timestamp value palatable to Talend. The problem is that ParseDate now insists on converting the time zone from +9:30 (South Australia) to Eastern European time!!</description>
      <pubDate>Fri, 14 Jun 2013 03:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367674#M131027</guid>
      <dc:creator>mario_mirabile</dc:creator>
      <dc:date>2013-06-14T03:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate format string for timestamp with timezone</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367675#M131028</link>
      <description>How do you mean?</description>
      <pubDate>Mon, 17 Jun 2013 12:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367675#M131028</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-06-17T12:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate format string for timestamp with timezone</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367676#M131029</link>
      <description>I mean that if I give it a value of "2013-06-16T10:00:00+09:30", I get back a value of "2013-06-16T03:00:00+0300" - both effectively the same time, but one is in Adelaide and the other in Eastern Europe - possibly Prague, but it could be Budapest.</description>
      <pubDate>Tue, 18 Jun 2013 01:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367676#M131029</guid>
      <dc:creator>mario_mirabile</dc:creator>
      <dc:date>2013-06-18T01:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate format string for timestamp with timezone</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367677#M131030</link>
      <description>I can only imagine that the machine you're running the job on thinks it's in the +3 timezone.</description>
      <pubDate>Wed, 19 Jun 2013 05:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-format-string-for-timestamp-with-timezone/m-p/2367677#M131030</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-06-19T05:04:28Z</dc:date>
    </item>
  </channel>
</rss>

