<?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 Problem with PARSE DATE in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-PARSE-DATE/m-p/2360388#M124986</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have a problem to parse a date from millisecond to 'YYYY-MM-DD hh:mm. From tFileProperties i get mtime and i bring it into tmap. How can i trasform this time 1694694720000 into date format YYYY-MM-DD hh:mm? I have mtime_string too but it return Thu Sep 14 14:32:00 CEST 2023 and i can't trasform in my format date. Someone can help me?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000of31sAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132586i703B7C313327CCEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000of31sAAA.png" alt="0695b00000of31sAAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:23:03 GMT</pubDate>
    <dc:creator>lcupito</dc:creator>
    <dc:date>2024-11-15T21:23:03Z</dc:date>
    <item>
      <title>Problem with PARSE DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-PARSE-DATE/m-p/2360388#M124986</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have a problem to parse a date from millisecond to 'YYYY-MM-DD hh:mm. From tFileProperties i get mtime and i bring it into tmap. How can i trasform this time 1694694720000 into date format YYYY-MM-DD hh:mm? I have mtime_string too but it return Thu Sep 14 14:32:00 CEST 2023 and i can't trasform in my format date. Someone can help me?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000of31sAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132586i703B7C313327CCEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000of31sAAA.png" alt="0695b00000of31sAAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-PARSE-DATE/m-p/2360388#M124986</guid>
      <dc:creator>lcupito</dc:creator>
      <dc:date>2024-11-15T21:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with PARSE DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-PARSE-DATE/m-p/2360389#M124987</link>
      <description>&lt;P&gt;Hi lcupito, &lt;/P&gt;&lt;P&gt;you can easily get:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a &lt;B&gt;Date &lt;/B&gt;variable from &lt;B&gt;mtime &lt;/B&gt;(in this case remember to set the date pattern in the output schema)&lt;/LI&gt;&lt;LI&gt;or a &lt;B&gt;String &lt;/B&gt;variable from &lt;B&gt;mtime_string&lt;/B&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Depending on what you need, try creating one of these 2 variables in your tMap:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;B&gt;myDate &lt;/B&gt;-&amp;gt; &lt;I&gt;new java.util.Date((long)(row1.mtime*1000)/1000)&amp;nbsp;&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;myString &lt;/B&gt;-&amp;gt; &lt;I&gt;TalendDate.formatDate("yyyy-MM-dd HH:mm",TalendDate.parseDate("EEE MMM dd HH:mm:ss zzz yyyy",row3.mtime_string))&amp;nbsp;&lt;/I&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000of4L0AAI.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135630i3B3FBDF2A7B37124/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000of4L0AAI.jpg" alt="0695b00000of4L0AAI.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000of4LFAAY.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140794i99B83911B83993E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000of4LFAAY.jpg" alt="0695b00000of4LFAAY.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Fabio&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 14:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-PARSE-DATE/m-p/2360389#M124987</guid>
      <dc:creator>Fabio_Caimi</dc:creator>
      <dc:date>2023-09-25T14:43:45Z</dc:date>
    </item>
  </channel>
</rss>

