<?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: TalendDate parseDate not woking in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289365#M62757</link>
    <description>In expression builder i want to use the below code.
&lt;BR /&gt;I declared REVISED_PLAN_DATE as string and assigned the value is&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;"02-May-2011"&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;TalendDate.formatDate("MM/dd/yyyy",TalendDate.parseDate("dd-MMM-yyyy",row1.REVISED_PLAN_DATE))
&lt;BR /&gt;
&lt;BR /&gt;but its shows an below error,
&lt;BR /&gt;Exception in component tMap_1
&lt;BR /&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: ""</description>
    <pubDate>Thu, 16 Jun 2016 10:42:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-16T10:42:10Z</dc:date>
    <item>
      <title>TalendDate parseDate not woking</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289363#M62755</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;below,&lt;BR /&gt;TalendDate.parseDate("dd-MMM-yyyy", "01-May-2016") ---- its working&lt;BR /&gt;TalendDate.parseDate("dd-MMM-yyyy", row1.REVISED_PLAN_DATE) ---Its not woking&lt;BR /&gt;but i passes row1.REVISED_PLAN_DAT = "02-May-2011"&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 08:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289363#M62755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T08:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate parseDate not woking</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289364#M62756</link>
      <description>You need to explain what "not working" means.
&lt;BR /&gt;The most likely outcome is that row1.REVISED_PLAN_DATE does not have the value you expect.</description>
      <pubDate>Thu, 16 Jun 2016 09:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289364#M62756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T09:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate parseDate not woking</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289365#M62757</link>
      <description>In expression builder i want to use the below code.
&lt;BR /&gt;I declared REVISED_PLAN_DATE as string and assigned the value is&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;"02-May-2011"&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;TalendDate.formatDate("MM/dd/yyyy",TalendDate.parseDate("dd-MMM-yyyy",row1.REVISED_PLAN_DATE))
&lt;BR /&gt;
&lt;BR /&gt;but its shows an below error,
&lt;BR /&gt;Exception in component tMap_1
&lt;BR /&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: ""</description>
      <pubDate>Thu, 16 Jun 2016 10:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289365#M62757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T10:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate parseDate not woking</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289366#M62758</link>
      <description>It isn't really clear what you're trying to achieve.&lt;BR /&gt;You're converting a String to a Data and then back to a String; but in a different format?&lt;BR /&gt;I'd still say that REVISED_PLAN_DATE is not set to the value that you're expecting.</description>
      <pubDate>Thu, 16 Jun 2016 10:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289366#M62758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T10:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate parseDate not woking</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289367#M62759</link>
      <description>Let me explain in detail...
&lt;BR /&gt;I have an input file (common separated) which has two rows and two columns "Name" &amp;amp; "DOB"
&lt;BR /&gt;The values in 1st row is &amp;nbsp; John, 02/May/1950
&lt;BR /&gt;The values in 2nd row is Alex, 11/Jan/1978
&lt;BR /&gt;Now, I have to push the input file to another text file (just push as is from the input file except the DOB field needs to be changed to Date column type)
&lt;BR /&gt;
&lt;BR /&gt;Source (Name as string, DOB as string) and Destination (Name as string, DOB as date)
&lt;BR /&gt;Have attached the file for your reference.&amp;nbsp;
&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Thu, 16 Jun 2016 11:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289367#M62759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T11:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate parseDate not woking</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289368#M62760</link>
      <description>&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;Hi,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;Let me explain in detail...&lt;BR /&gt;I have an input file&amp;nbsp;&lt;BR /&gt;The values in 1st row is &amp;nbsp; John, 02/May/1950&lt;BR /&gt;The values in 2nd row is Alex, 11/Jan/1978&lt;BR /&gt;And i have one "tFileInputDelimited, tMap and tFileOutputDelimited".&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;In tMap, i want to change the date format "TalendDate.parseDate("MM-dd-yyyy", row1.DOB) ", but it shows error to convert this line.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;Ananth&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 16 Jun 2016 12:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289368#M62760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T12:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate parseDate not woking</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289369#M62761</link>
      <description>it still sounds like you string is not what you think it is. try inserting a tLogRow, so you see the data flowing through.</description>
      <pubDate>Thu, 16 Jun 2016 13:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-not-woking/m-p/2289369#M62761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T13:30:03Z</dc:date>
    </item>
  </channel>
</rss>

