<?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 How to pass blank date to output in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-blank-date-to-output/m-p/2316626#M87153</link>
    <description>&lt;P&gt;Input and output field is string(50), its a date field, but uses string type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my input data, blanks are coming in this date field and it needs to be passed to output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used below code in tMap but it didn't worked. Please help to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;row2.DiagnosisActivityStartDate == "" ? "" : TalendDate.formatDate("MM-dd-yyyy",TalendDate.parseDate("yyyy-MM-dd",row2.DiagnosisActivityStartDate))&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2018 09:54:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-09T09:54:09Z</dc:date>
    <item>
      <title>How to pass blank date to output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-blank-date-to-output/m-p/2316626#M87153</link>
      <description>&lt;P&gt;Input and output field is string(50), its a date field, but uses string type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my input data, blanks are coming in this date field and it needs to be passed to output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used below code in tMap but it didn't worked. Please help to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;row2.DiagnosisActivityStartDate == "" ? "" : TalendDate.formatDate("MM-dd-yyyy",TalendDate.parseDate("yyyy-MM-dd",row2.DiagnosisActivityStartDate))&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 09:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-blank-date-to-output/m-p/2316626#M87153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T09:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass blank date to output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-blank-date-to-output/m-p/2316627#M87154</link>
      <description>&lt;PRE&gt;"".equals(row2.DiagnosisActivityStartDate) ||&amp;nbsp;&lt;BR /&gt;row2.DiagnosisActivityStartDate == null ? "" : TalendDate.formatDate("MM-dd-yyyy",TalendDate.parseDate("yyyy-MM-dd",row2.DiagnosisActivityStartDate))&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 May 2018 09:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-blank-date-to-output/m-p/2316627#M87154</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-05-09T09:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass blank date to output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-blank-date-to-output/m-p/2316628#M87155</link>
      <description>&lt;P&gt;WOwwwww TRF... it worked. Thank you very much again&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 10:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-blank-date-to-output/m-p/2316628#M87155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T10:20:07Z</dc:date>
    </item>
  </channel>
</rss>

