<?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 Timestamp with UTC in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-with-UTC/m-p/2266172#M45483</link>
    <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a column with strings like "2019-03-17 06:15:00 +0400". How can I add&amp;nbsp; +0400 into the time?&amp;nbsp; For example&amp;nbsp; "2019-03-17 10:15:00"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot .&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2020 14:25:52 GMT</pubDate>
    <dc:creator>DrGenious</dc:creator>
    <dc:date>2020-01-23T14:25:52Z</dc:date>
    <item>
      <title>Timestamp with UTC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-with-UTC/m-p/2266172#M45483</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a column with strings like "2019-03-17 06:15:00 +0400". How can I add&amp;nbsp; +0400 into the time?&amp;nbsp; For example&amp;nbsp; "2019-03-17 10:15:00"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot .&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 14:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Timestamp-with-UTC/m-p/2266172#M45483</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-01-23T14:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp with UTC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-with-UTC/m-p/2266173#M45484</link>
      <description>&lt;P&gt;This is all about timezones and it can get very confusing. But essentially, what you appear to be wanting to do is to use UTC as your timezone. There are a couple of methods that Talend provide for this, but first you need to know how your data is being stored. If it is being stored as a String, then it is relatively easy. You can use code similar to below.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;String myDate = "2019-03-17 06:15:00 +0400";

Date d = routines.TalendDate.parseDate("yyyy-MM-dd HH:mm:ss X", myDate);
System.out.println(myDate);
System.out.println(routines.TalendDate.formatDateInUTC("yyyy-MM-dd HH:mm:ss", d));&lt;/PRE&gt;
&lt;P&gt;The code above outputs (to the System.out) your date as a UTC date in String form. Copy and paste this code into a tJava and you will see what I mean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Feb 2020 16:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Timestamp-with-UTC/m-p/2266173#M45484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-02T16:38:36Z</dc:date>
    </item>
  </channel>
</rss>

