<?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 TalendDate.parseDate giving unexpected output in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-giving-unexpected-output/m-p/2349822#M116753</link>
    <description>&lt;P&gt;Hello, I am using TalendDate.parseDate in tMap but I am getting unexpected results. &lt;/P&gt;&lt;P&gt;I am processing many files, all the same format, but some files are not returning a correct date. Please see below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;tMap &lt;UL&gt;&lt;LI&gt;expression    "TalendDate.parseDate("yyyyMMdd",StringHandling.LEFT(row4.start,8))&amp;nbsp;"&lt;/LI&gt;&lt;LI&gt;Date pattern   "MM-dd-yyyy"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Data in file&lt;UL&gt;&lt;LI&gt;start&lt;P&gt;="&lt;/P&gt;20230213 00:23:11&lt;P&gt;"&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;output&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;02-44-2023&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All my files have the same field and same beginning format. I am not sure if this is a Talend bug or corrupt data&lt;/P&gt;&lt;P&gt;Any ideas are welcomed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 14:48:07 GMT</pubDate>
    <dc:creator>ftobias1677780896</dc:creator>
    <dc:date>2023-03-08T14:48:07Z</dc:date>
    <item>
      <title>TalendDate.parseDate giving unexpected output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-giving-unexpected-output/m-p/2349822#M116753</link>
      <description>&lt;P&gt;Hello, I am using TalendDate.parseDate in tMap but I am getting unexpected results. &lt;/P&gt;&lt;P&gt;I am processing many files, all the same format, but some files are not returning a correct date. Please see below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;tMap &lt;UL&gt;&lt;LI&gt;expression    "TalendDate.parseDate("yyyyMMdd",StringHandling.LEFT(row4.start,8))&amp;nbsp;"&lt;/LI&gt;&lt;LI&gt;Date pattern   "MM-dd-yyyy"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Data in file&lt;UL&gt;&lt;LI&gt;start&lt;P&gt;="&lt;/P&gt;20230213 00:23:11&lt;P&gt;"&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;output&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;02-44-2023&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All my files have the same field and same beginning format. I am not sure if this is a Talend bug or corrupt data&lt;/P&gt;&lt;P&gt;Any ideas are welcomed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 14:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-giving-unexpected-output/m-p/2349822#M116753</guid>
      <dc:creator>ftobias1677780896</dc:creator>
      <dc:date>2023-03-08T14:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parseDate giving unexpected output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-giving-unexpected-output/m-p/2349823#M116754</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;For debugging,  print the value of StringHandling.LEFT(row4.start,8), to check if it returns the expected string before it is parsed to a Date. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 00:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-giving-unexpected-output/m-p/2349823#M116754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-09T00:47:15Z</dc:date>
    </item>
  </channel>
</rss>

