<?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 format in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Date-format/m-p/2283940#M57745</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a string with date "17-03-19 9:05" and I want to change the format to "yyyy-MM-dd HH:mm:ss" and the type to be string.&lt;/P&gt;&lt;P&gt;Also I want to convecrt 'May 20 2019 15:30:02 GST" to&amp;nbsp;"yyyy-MM-dd HH:mm:ss"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me.Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2020 13:11:18 GMT</pubDate>
    <dc:creator>DrGenious</dc:creator>
    <dc:date>2020-02-04T13:11:18Z</dc:date>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-format/m-p/2283940#M57745</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a string with date "17-03-19 9:05" and I want to change the format to "yyyy-MM-dd HH:mm:ss" and the type to be string.&lt;/P&gt;&lt;P&gt;Also I want to convecrt 'May 20 2019 15:30:02 GST" to&amp;nbsp;"yyyy-MM-dd HH:mm:ss"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me.Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 13:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-format/m-p/2283940#M57745</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-02-04T13:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-format/m-p/2283941#M57746</link>
      <description>&lt;P&gt;You will need to use the TalendDate routines for this (....or use standard Java Date functionality...but the TalendDate routines make it easier). These are described here....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.talend.com/reader/QrWkwPvKmKybs~JNLeBt3Q/GF6kKOHdJwnnbGY_b6u02g" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/QrWkwPvKmKybs~JNLeBt3Q/GF6kKOHdJwnnbGY_b6u02g&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 14:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-format/m-p/2283941#M57746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-04T14:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-format/m-p/2283942#M57747</link>
      <description>&lt;P&gt;I figure it out how to do the first one but I need help with the second "&lt;SPAN&gt;May 20 2019 15:30:02 GST&lt;/SPAN&gt;&amp;nbsp;"&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 14:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-format/m-p/2283942#M57747</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-02-04T14:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-format/m-p/2283943#M57748</link>
      <description>&lt;P&gt;This code will do it....&lt;/P&gt;
&lt;PRE&gt;String strDate = "May 20 2019 15:30:02 GST ";

Date date = routines.TalendDate.parseDate("MMM dd yyyy HH:mm:ss z", strDate);

System.out.println(strDate);
System.out.println(routines.TalendDate.formatDate("yyyy-MM-dd HH:mm:ss", date));&lt;/PRE&gt;
&lt;P&gt;This page will make figuring this sort of stuff out a bit easier.....&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.oracle.com/javase/10/docs/api/java/text/SimpleDateFormat.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.oracle.com/javase/10/docs/api/java/text/SimpleDateFormat.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 15:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-format/m-p/2283943#M57748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-04T15:09:53Z</dc:date>
    </item>
  </channel>
</rss>

