<?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: HOW TO GET FILEDATE IN TMAP in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234108#M23587</link>
    <description>&lt;P&gt;Thank you so much this is working fine&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2017 14:46:17 GMT</pubDate>
    <dc:creator>k526</dc:creator>
    <dc:date>2017-05-29T14:46:17Z</dc:date>
    <item>
      <title>HOW TO GET FILEDATE IN TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234106#M23585</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;how to get filedate. myfilename is pk_20110504124523.csv&lt;/P&gt; 
&lt;P&gt;i need the date format like this 2011-05-04 12:45:23&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i tried like this &amp;nbsp;((String)globalMap.get("tFileList_2_CURRENT_FILE")).sub string(3,17) .am getting like this&amp;nbsp;&lt;SPAN&gt;20110504124523.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;can any one help me.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 13:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234106#M23585</guid>
      <dc:creator>k526</dc:creator>
      <dc:date>2017-05-29T13:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO GET FILEDATE IN TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234107#M23586</link>
      <description>&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;TalendDate.parseDate("yyyyMMddHHmmss",&lt;SPAN&gt;((String)globalMap.get("tFileList_2_CURRENT_FILE"&lt;/SPAN&gt;&lt;SPAN&gt;)).sub string(3,17)&lt;/SPAN&gt;) &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;with column type Date and pattern "yyyy-MM-dd HH:mm:ss"&lt;/STRONG&gt; it must return proper result&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 14:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234107#M23586</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-05-29T14:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO GET FILEDATE IN TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234108#M23587</link>
      <description>&lt;P&gt;Thank you so much this is working fine&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 14:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234108#M23587</guid>
      <dc:creator>k526</dc:creator>
      <dc:date>2017-05-29T14:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO GET FILEDATE IN TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234109#M23588</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LM0dAAG"&gt;@k526&lt;/A&gt; wrote: 
 &lt;BR /&gt;cannot convert from date to string 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;of course, because - it return Date (see my message)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;if need string - add one more function formatDate() - it return string&lt;/P&gt; 
&lt;PRE&gt;TalendDate.formatDate("yyyy-MM-dd HH:mm:ss",TalendDate.parseDate("yyyyMMddHHmmss",((String)globalMap.get("tFileList_2_CURRENT_FILE")).sub string(3,17)) )&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 May 2017 14:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234109#M23588</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-05-29T14:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO GET FILEDATE IN TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234110#M23589</link>
      <description>&lt;P&gt;Welcome! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 15:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HOW-TO-GET-FILEDATE-IN-TMAP/m-p/2234110#M23589</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-05-29T15:02:32Z</dc:date>
    </item>
  </channel>
</rss>

