<?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 Check date format and parse string to a date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Check-date-format-and-parse-string-to-a-date/m-p/2326930#M96366</link>
    <description>&lt;P&gt;I have a column with values like '20170128' , '20170129' , etc....&lt;BR /&gt;I am trying to find if the values follow the order "yyyyMMdd" and if at all they follow, insert as it is, else insert a null value.&lt;BR /&gt;say e.g.&amp;nbsp;&lt;BR /&gt;20170128 - 20170128&lt;BR /&gt;20172801 - NULL&lt;BR /&gt;&lt;STRONG&gt;TalendDate.isDate(row1.Column2,"yyyyMMdd")?TalendDate.parseDate("yyyyMMdd",row1.Column2):""&lt;/STRONG&gt;&lt;BR /&gt;I used the above mentioned condition to list out the values in tMAP component.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But I get an &amp;nbsp;error like&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;"type mismatch cannot convert from object&amp;amp;serializable&amp;amp;comparable to date"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can anyone please tell me what is the error in the above condition ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance..&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2017 20:36:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-06T20:36:19Z</dc:date>
    <item>
      <title>Check date format and parse string to a date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Check-date-format-and-parse-string-to-a-date/m-p/2326930#M96366</link>
      <description>&lt;P&gt;I have a column with values like '20170128' , '20170129' , etc....&lt;BR /&gt;I am trying to find if the values follow the order "yyyyMMdd" and if at all they follow, insert as it is, else insert a null value.&lt;BR /&gt;say e.g.&amp;nbsp;&lt;BR /&gt;20170128 - 20170128&lt;BR /&gt;20172801 - NULL&lt;BR /&gt;&lt;STRONG&gt;TalendDate.isDate(row1.Column2,"yyyyMMdd")?TalendDate.parseDate("yyyyMMdd",row1.Column2):""&lt;/STRONG&gt;&lt;BR /&gt;I used the above mentioned condition to list out the values in tMAP component.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But I get an &amp;nbsp;error like&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;"type mismatch cannot convert from object&amp;amp;serializable&amp;amp;comparable to date"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can anyone please tell me what is the error in the above condition ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance..&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 20:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Check-date-format-and-parse-string-to-a-date/m-p/2326930#M96366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T20:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Check date format and parse string to a date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Check-date-format-and-parse-string-to-a-date/m-p/2326931#M96367</link>
      <description>Hi 
&lt;BR /&gt;If the data type of output column is Date, try to change the expression to: 
&lt;BR /&gt; 
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;TalendDate.isDate(row1.Column2,"yyyyMMdd")?TalendDate.parseDate("yyyyMMdd",row1.Column2):null&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 07 Feb 2017 03:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Check-date-format-and-parse-string-to-a-date/m-p/2326931#M96367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T03:37:51Z</dc:date>
    </item>
  </channel>
</rss>

