<?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: Cannot Parse String to Date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Parse-String-to-Date/m-p/2474498#M141099</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;You should use the right date pattern to parse the date string, use the below expression for the date string format like this&amp;nbsp;&lt;SPAN&gt;"July 1 2024",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;TalendDate.parseDate("MMM dd yyyy",row1.Date)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Shicong&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2024 07:39:45 GMT</pubDate>
    <dc:creator>Shicong_Hong</dc:creator>
    <dc:date>2024-08-05T07:39:45Z</dc:date>
    <item>
      <title>Cannot Parse String to Date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Parse-String-to-Date/m-p/2474398#M141093</link>
      <description>&lt;P&gt;Hey guys, I'm quite new to Talend and started learning it recently for school. My assignment requires me to take a csv file and parse the date from this format "July 1 2024" into a date format so I can check for some rejected entries. I have used a tmap with the ParseDate expression but it keeps giving me this error:&lt;BR /&gt;&lt;BR /&gt;Exception in component tMap_1 (DonationDataProcessing)&lt;BR /&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: "July 1 2024"&lt;BR /&gt;at routines.TalendDate.parseDate(TalendDate.java:971)&lt;BR /&gt;at routines.TalendDate.parseDate(TalendDate.java:915)&lt;BR /&gt;at demo_project.donationdataprocessing_0_1.DonationDataProcessing.tFileList_1Process(DonationDataProcessing.java:1869)&lt;BR /&gt;at demo_project.donationdataprocessing_0_1.DonationDataProcessing.runJobInTOS(DonationDataProcessing.java:2577)&lt;BR /&gt;at demo_project.donationdataprocessing_0_1.DonationDataProcessing.main(DonationDataProcessing.java:2415)&lt;BR /&gt;Caused by: java.text.ParseException: Unparseable date: "July 1 2024"&lt;BR /&gt;at java.base/java.text.DateFormat.parse(DateFormat.java:395)&lt;BR /&gt;at routines.TalendDate.parseDate(TalendDate.java:957)&lt;BR /&gt;... 4 more&lt;BR /&gt;&lt;BR /&gt;Here is my tmap attached as well&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SupItzAdeem_0-1722621783517.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170165i1E911D4E6053CF6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SupItzAdeem_0-1722621783517.png" alt="SupItzAdeem_0-1722621783517.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Any help would be very much appreciated. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 18:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-Parse-String-to-Date/m-p/2474398#M141093</guid>
      <dc:creator>SupItzAdeem</dc:creator>
      <dc:date>2024-08-02T18:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Parse String to Date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Parse-String-to-Date/m-p/2474498#M141099</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;You should use the right date pattern to parse the date string, use the below expression for the date string format like this&amp;nbsp;&lt;SPAN&gt;"July 1 2024",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;TalendDate.parseDate("MMM dd yyyy",row1.Date)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Shicong&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 07:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-Parse-String-to-Date/m-p/2474498#M141099</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-08-05T07:39:45Z</dc:date>
    </item>
  </channel>
</rss>

