<?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: Date formatting error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Date-formatting-error/m-p/2210614#M8964</link>
    <description>&lt;P&gt;As you have date fields for both input and output,&amp;nbsp;&lt;SPAN&gt;TalendDate.formatDate is not applicable.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;TalendDate.formatDate is to convert from string to date datatype.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Simply try to adapt the date format:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv08.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128396i4E366A95B7B530B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv08.png" alt="0683p000009Lv08.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;The result will be like this:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;Starting job test at 23:08 22/05/2017.

[statistics] connecting to socket on port 3472
[statistics] connected
20170522
2017-05-22 12:00:00
[statistics] disconnected
Job test ended at 23:08 22/05/2017. [exit code=0]&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2017 22:18:07 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-05-22T22:18:07Z</dc:date>
    <item>
      <title>Date formatting error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-formatting-error/m-p/2210613#M8963</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; I have &amp;nbsp;my CSV date data which is of form yyyyMMdd form and i want to result as yyyy-MM-dd hh:mm:ss so i used&amp;nbsp;function TalendDate.formatDate("yyyyMMdd"row1.FKDAT) &amp;nbsp;but i am getting error string literal not properly closed by double quotes.I also used function TalendDate.parseDate(&lt;SPAN&gt;"yyyyMMdd"row1.FKDAT) still getting same error&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talenddate.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lur8.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149098iCA0D8E487747FB37/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lur8.jpg" alt="0683p000009Lur8.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 20:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-formatting-error/m-p/2210613#M8963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-22T20:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-formatting-error/m-p/2210614#M8964</link>
      <description>&lt;P&gt;As you have date fields for both input and output,&amp;nbsp;&lt;SPAN&gt;TalendDate.formatDate is not applicable.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;TalendDate.formatDate is to convert from string to date datatype.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Simply try to adapt the date format:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv08.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128396i4E366A95B7B530B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv08.png" alt="0683p000009Lv08.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;The result will be like this:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;Starting job test at 23:08 22/05/2017.

[statistics] connecting to socket on port 3472
[statistics] connected
20170522
2017-05-22 12:00:00
[statistics] disconnected
Job test ended at 23:08 22/05/2017. [exit code=0]&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 22:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-formatting-error/m-p/2210614#M8964</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-22T22:18:07Z</dc:date>
    </item>
  </channel>
</rss>

