<?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 Date formatting in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Date-formatting/m-p/2255387#M38100</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to extract the data from Drupal using Talend and i'm having troubles with formatting the String date in Drupal to the Date format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Source Date:&amp;nbsp;Thu Aug 18 00:00:00 BST 2016 (Type String)&lt;/P&gt;
&lt;P&gt;Target Date:&amp;nbsp; 2016-08-18T00:00:00.000Z (Type Date)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried various&amp;nbsp;expressions&amp;nbsp;in Talend.Date() method but couldn't figure it out yet. Do you guys have any idea about this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Hasitha&lt;/P&gt;</description>
    <pubDate>Thu, 11 Oct 2018 15:02:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-11T15:02:33Z</dc:date>
    <item>
      <title>Date formatting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-formatting/m-p/2255387#M38100</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to extract the data from Drupal using Talend and i'm having troubles with formatting the String date in Drupal to the Date format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Source Date:&amp;nbsp;Thu Aug 18 00:00:00 BST 2016 (Type String)&lt;/P&gt;
&lt;P&gt;Target Date:&amp;nbsp; 2016-08-18T00:00:00.000Z (Type Date)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried various&amp;nbsp;expressions&amp;nbsp;in Talend.Date() method but couldn't figure it out yet. Do you guys have any idea about this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Hasitha&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 15:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-formatting/m-p/2255387#M38100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-11T15:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-formatting/m-p/2255388#M38101</link>
      <description>&lt;P&gt;First of all, you should be aware that the Date class stores dates as numbers. Format is irrelevant here. So you just want to convert to a Date from String. Having said that, I have included code to convert back to a String in the format you want. The code is below...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;String date = "Thu Aug 18 00:00:00 BST 2016"; //Set your example date
Date myDate = routines.TalendDate.parseDate("EEE MMM dd HH:mm:ss z yyyy", date); //Convert the example date to a Date

//Print the Date object to a String in the format you specified
System.out.println(routines.TalendDate.formatDateLocale("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", myDate, "BST"));&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Oct 2018 17:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-formatting/m-p/2255388#M38101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-11T17:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-formatting/m-p/2255389#M38102</link>
      <description>&lt;P&gt;Thanks for the quick response rhall. I think i've got to a point that i can work it out.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 16:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-formatting/m-p/2255389#M38102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-12T16:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-formatting/m-p/2255390#M38103</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOrLAAW"&gt;@hasitha&lt;/A&gt;, you need to accept the post which gave you the solution. Otherwise people also suffering with the same issue will not find it easily. Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 13:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-formatting/m-p/2255390#M38103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-14T13:33:11Z</dc:date>
    </item>
  </channel>
</rss>

