<?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: [resolved] Different date formats in Excel Source in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Different-date-formats-in-Excel-Source/m-p/2303198#M75105</link>
    <description>Thanks Shong!!!!</description>
    <pubDate>Tue, 30 Aug 2016 23:26:20 GMT</pubDate>
    <dc:creator>Bhagwati1</dc:creator>
    <dc:date>2016-08-30T23:26:20Z</dc:date>
    <item>
      <title>[resolved] Different date formats in Excel Source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Different-date-formats-in-Excel-Source/m-p/2303196#M75103</link>
      <description>Hello Guys,&lt;BR /&gt;I am loading data from multiple excels into a database table.&lt;BR /&gt;The date format in excels is not consistent.&lt;BR /&gt;in some of the excels the date format is dd/MM/yyyy and below format works.&lt;BR /&gt;TalendDate.parseDate("yyyy-MM-dd",&lt;BR /&gt;TalendDate.formatDate("yyyy-MM-dd",&lt;BR /&gt;TalendDate.parseDate("dd/MM/yyyy",row2.Rec_Dt)))&amp;nbsp;&lt;BR /&gt;but there are some excels in which date format is dd/MM/yy and&amp;nbsp;wrong date is inserted into the destination table.below is the example.&lt;BR /&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;23/12/15 is inserted as 0015-12-23&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;Could you please help?&lt;BR /&gt;Thanks Bhagwati</description>
      <pubDate>Sun, 28 Aug 2016 13:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Different-date-formats-in-Excel-Source/m-p/2303196#M75103</guid>
      <dc:creator>Bhagwati1</dc:creator>
      <dc:date>2016-08-28T13:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Different date formats in Excel Source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Different-date-formats-in-Excel-Source/m-p/2303197#M75104</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;Read the column as a string, populate the length of the string and then parse the string to a date using different expression based on the length, eg: 
&lt;BR /&gt;tFileinputExcel--main--tMap--out1.... 
&lt;BR /&gt;on tMap: 
&lt;BR /&gt;row1.columnName.length==10?TalendDate.parseDate("dd/MM/yyyy",row1.columnName):TalendDate.parseDate("dd/MM/yy",row1.columnName) 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 29 Aug 2016 02:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Different-date-formats-in-Excel-Source/m-p/2303197#M75104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-29T02:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Different date formats in Excel Source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Different-date-formats-in-Excel-Source/m-p/2303198#M75105</link>
      <description>Thanks Shong!!!!</description>
      <pubDate>Tue, 30 Aug 2016 23:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Different-date-formats-in-Excel-Source/m-p/2303198#M75105</guid>
      <dc:creator>Bhagwati1</dc:creator>
      <dc:date>2016-08-30T23:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Different date formats in Excel Source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Different-date-formats-in-Excel-Source/m-p/2303199#M75106</link>
      <description>&lt;P&gt;Hii,&lt;/P&gt;&lt;P&gt;i've tried the exact same job .but it didn't work.its giving me Error as length cannot be resolved or it is not field.please help me out.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwKE"&gt;Date_task.PNG&lt;/A&gt;</description>
      <pubDate>Tue, 23 Jul 2019 06:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Different-date-formats-in-Excel-Source/m-p/2303199#M75106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-23T06:48:57Z</dc:date>
    </item>
  </channel>
</rss>

