<?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] Null Invalid Dates in Tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-Invalid-Dates-in-Tmap/m-p/2233166#M22912</link>
    <description>You not fully correct parse dates (see attached) - need update if-lese-if-else logic and parse date must use same format as source date string 
&lt;BR /&gt;one more - I You also need handle short format - 3/29/1969 - not parsable, but 03/29/1969 - parsable&amp;nbsp; 
&lt;BR /&gt;sure it possible to do by different ways, I just check length and add 0 if omitted&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBpd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151438i6E1FFBFB92EA098A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBpd.png" alt="0683p000009MBpd.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBAW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146694i0DA34229011AC683/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBAW.png" alt="0683p000009MBAW.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MByq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128402iA9B74C7C26B20571/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MByq.png" alt="0683p000009MByq.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Fri, 04 Nov 2016 00:00:47 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2016-11-04T00:00:47Z</dc:date>
    <item>
      <title>[resolved] Null Invalid Dates in Tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-Invalid-Dates-in-Tmap/m-p/2233165#M22911</link>
      <description>I have an excel file where records with invalid dates is common or are populated with N/A, no data, etc. &amp;nbsp;I would like to null out the invalid DOB rather than reject/filter out the entire record. &amp;nbsp;The date is coming in a string in the file and I am trying to insert into a date field in oracle. 
&lt;BR /&gt;I have tried formatting the expression a couple of different ways but I still get an error rather than a null DOB record. &amp;nbsp;I would expect these to come through as null as opposed to throwing an error. &amp;nbsp;What am i doing wrong? 
&lt;BR /&gt;The string date looks like: 
&lt;BR /&gt;Fri Apr 03 00:00:00 PDT 2009 or&amp;nbsp;Fri Apr 16 00:00:00 PST 1982 or&amp;nbsp;3/29/1969 
&lt;BR /&gt;1. (TalendDate.isDate(row12.Patient_DOB, "EEE MMM dd HH:mm:ss zzz yyyy") == true) ? TalendDate.parseDate("MM/dd/yyyy",row12.Patient_DOB):null&amp;nbsp; 
&lt;BR /&gt;--when i use this i get an error on Unparseable date: "Tue Jun 06 00:00:00 PDT 1967" 
&lt;BR /&gt;2. (TalendDate.isDate(row12.Patient_DOB, "EEE MMM dd HH:mm:ss Z yyyy") == true) ? TalendDate.parseDate("MM/dd/yyyy",row12.Patient_DOB):null&amp;nbsp; 
&lt;BR /&gt;--when i use this format I get an error on&amp;nbsp;Unparseable date: "3/29/1969" 
&lt;BR /&gt;3.&amp;nbsp;(TalendDate.isDate(row12.Patient_DOB, "MM/dd/yyyy") == true) ? TalendDate.parseDate("MM/dd/yyyy",row12.Patient_DOB):null&amp;nbsp; 
&lt;BR /&gt;--when i use this format I get an error on Unparseable date: "3/29/1969" 
&lt;BR /&gt;Any help is greatly appreciated! 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 03 Nov 2016 16:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-Invalid-Dates-in-Tmap/m-p/2233165#M22911</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-03T16:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null Invalid Dates in Tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-Invalid-Dates-in-Tmap/m-p/2233166#M22912</link>
      <description>You not fully correct parse dates (see attached) - need update if-lese-if-else logic and parse date must use same format as source date string 
&lt;BR /&gt;one more - I You also need handle short format - 3/29/1969 - not parsable, but 03/29/1969 - parsable&amp;nbsp; 
&lt;BR /&gt;sure it possible to do by different ways, I just check length and add 0 if omitted&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBpd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151438i6E1FFBFB92EA098A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBpd.png" alt="0683p000009MBpd.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBAW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146694i0DA34229011AC683/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBAW.png" alt="0683p000009MBAW.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MByq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128402iA9B74C7C26B20571/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MByq.png" alt="0683p000009MByq.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 04 Nov 2016 00:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-Invalid-Dates-in-Tmap/m-p/2233166#M22912</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-11-04T00:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null Invalid Dates in Tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-Invalid-Dates-in-Tmap/m-p/2233167#M22913</link>
      <description>that worked perfectly 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&amp;nbsp; thank you!</description>
      <pubDate>Fri, 04 Nov 2016 03:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-Invalid-Dates-in-Tmap/m-p/2233167#M22913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-04T03:18:03Z</dc:date>
    </item>
  </channel>
</rss>

