<?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: Talend - Date Conversion issues!!! in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344790#M112402</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPcOAAW"&gt;@tnewbie&lt;/A&gt;&amp;nbsp;, just replace the below expression in&amp;nbsp;&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&amp;nbsp; screenshot.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TalendDate.parseDate("dd-MMM-yyyy",row1.date)&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;yyyy/mm/dd&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2019 16:21:08 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2019-06-11T16:21:08Z</dc:date>
    <item>
      <title>Talend - Date Conversion issues!!!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344785#M112397</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt; 
&lt;P&gt;I have comma delimited flat file as my source with row structure as&amp;nbsp;&lt;/P&gt; 
&lt;TABLE&gt; 
 &lt;TBODY&gt; 
  &lt;TR&gt; 
   &lt;TD&gt; &lt;P&gt;cust_number&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;cust_name&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;cust_age&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;cust_gender&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;cust_height&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;cust_registered_date&lt;/P&gt; &lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt; &lt;P&gt;001&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;Rado&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;25&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;M&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;5.4&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;01-jan-2015&lt;/P&gt; &lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt; &lt;P&gt;002&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;John&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;65&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;M&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;4.9&lt;/P&gt; &lt;/TD&gt; 
   &lt;TD&gt; &lt;P&gt;10-nov-2016&lt;/P&gt; &lt;/TD&gt; 
  &lt;/TR&gt; 
 &lt;/TBODY&gt; 
&lt;/TABLE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;my requirement is to convert the&amp;nbsp;cust_registered_date into&lt;STRONG&gt; yyyy/mm/dd&lt;/STRONG&gt; format and populate a target flat file after few more derivations on the other fields....i am having issues with converting this&amp;nbsp;&lt;STRONG&gt;cust_registered_date&lt;/STRONG&gt; to any other format....read through as many posts as possible on the community and below is all i did, but with no success&lt;/P&gt; 
&lt;P&gt;1) Tried this conversion using TalendDate.parsedate, formatdate&lt;/P&gt; 
&lt;P&gt;2) Tried putting my input column data type to String, Date, similarly tried changing&amp;nbsp; variable port data type to string, date&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3) Tried using the formats yyyy-MMM-dd, yyyy-mmm-dd,yyyy-mon-dd&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;4) Tried putting single quotes, double quotes, without quotes to the incoming values in the src file&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My requirement if put in Sql would be a one liner:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;to_date(cust_registered_date,'yyyy-mon-dd')&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;can any please help&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 19:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344785#M112397</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-05-30T19:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Talend - Date Conversion issues!!!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344786#M112398</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;What's your input source data type? String or Date?If you need parse String to Date:&lt;/P&gt; 
&lt;P&gt;The expression should be :TalendDate.parseDate("dd-MM-yyyy",cust_registered_date).&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="date.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5My.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143663i42A720F754439B75/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5My.png" alt="0683p000009M5My.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 08:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344786#M112398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-05T08:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Talend - Date Conversion issues!!!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344787#M112399</link>
      <description>I'had got the same trouble. I solved it by splitting date into tmap and recreate it from number(if 'jan' then 01)</description>
      <pubDate>Wed, 05 Jun 2019 10:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344787#M112399</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-06-05T10:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Talend - Date Conversion issues!!!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344788#M112400</link>
      <description>&lt;P&gt;Hi fdenis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you elaborate your approach with screen shots please&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 18:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344788#M112400</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-06-05T18:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Talend - Date Conversion issues!!!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344789#M112401</link>
      <description>&lt;P&gt;Thanks Sabrina.&lt;/P&gt;
&lt;P&gt;I think the format differences you highlighted in the &lt;STRONG&gt;expression editor&lt;/STRONG&gt; and the &lt;STRONG&gt;schema&amp;nbsp;date pattern&lt;/STRONG&gt; are not typos but intentional...if Yes, then this is something interesting that i have to check. Will Let you know if that works&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 18:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344789#M112401</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-06-05T18:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Talend - Date Conversion issues!!!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344790#M112402</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPcOAAW"&gt;@tnewbie&lt;/A&gt;&amp;nbsp;, just replace the below expression in&amp;nbsp;&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&amp;nbsp; screenshot.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TalendDate.parseDate("dd-MMM-yyyy",row1.date)&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;yyyy/mm/dd&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 16:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344790#M112402</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-06-11T16:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Talend - Date Conversion issues!!!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344791#M112403</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to load data from excel(.xls) to table. In my file date column format is dd/mm/yyyy and I want in same format.&lt;/P&gt;&lt;P&gt;But I am getting result as -&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;29-12-0020 00:00:00&amp;nbsp; instead of&lt;FONT color="#000000"&gt;&amp;nbsp;29-12-2020 00:00:00&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;I am using in tmap -&amp;nbsp; &lt;FONT color="#008000"&gt;TalendDate.parseDate("dd/MM/YYYY",row1.start_date)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;I don't want to manually format my column in file as it will be going automated process. Hence in input, I putted type as string.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Could you please help me with this ?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 08:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Date-Conversion-issues/m-p/2344791#M112403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-24T08:22:49Z</dc:date>
    </item>
  </channel>
</rss>

