<?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 Simple DATE to UNIX TIME Convertion Help Needed. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Simple-DATE-to-UNIX-TIME-Convertion-Help-Needed/m-p/2349927#M116840</link>
    <description>&lt;P&gt;Hello Fellow community.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I'm getting data from a table and in a tMap i'm trying to convert the DATE(&lt;/P&gt;&lt;P&gt;2020-01-28 00:00:00&lt;/P&gt;) to UNIX(&lt;P&gt;1686200924&lt;/P&gt;) and return it as integer.&lt;P&gt;I can't find anything online, only libraries to import in the tJava, but i dont want that.&lt;/P&gt;&lt;P&gt;If any one know how to do this in the tMap variable expression would be great.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Thnx for any help.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Vader Out &lt;span class="lia-unicode-emoji" title=":flexed_biceps:"&gt;💪&lt;/span&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 13:28:06 GMT</pubDate>
    <dc:creator>Lord-Vader</dc:creator>
    <dc:date>2023-06-16T13:28:06Z</dc:date>
    <item>
      <title>Simple DATE to UNIX TIME Convertion Help Needed.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Simple-DATE-to-UNIX-TIME-Convertion-Help-Needed/m-p/2349927#M116840</link>
      <description>&lt;P&gt;Hello Fellow community.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I'm getting data from a table and in a tMap i'm trying to convert the DATE(&lt;/P&gt;&lt;P&gt;2020-01-28 00:00:00&lt;/P&gt;) to UNIX(&lt;P&gt;1686200924&lt;/P&gt;) and return it as integer.&lt;P&gt;I can't find anything online, only libraries to import in the tJava, but i dont want that.&lt;/P&gt;&lt;P&gt;If any one know how to do this in the tMap variable expression would be great.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Thnx for any help.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Vader Out &lt;span class="lia-unicode-emoji" title=":flexed_biceps:"&gt;💪&lt;/span&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 13:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Simple-DATE-to-UNIX-TIME-Convertion-Help-Needed/m-p/2349927#M116840</guid>
      <dc:creator>Lord-Vader</dc:creator>
      <dc:date>2023-06-16T13:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Simple DATE to UNIX TIME Convertion Help Needed.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Simple-DATE-to-UNIX-TIME-Convertion-Help-Needed/m-p/2349928#M116841</link>
      <description>&lt;P&gt;Hi @kevin cork​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After you extract the date from a table using a Date data type, try the following code on tMap:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;row1.date_column.getTime() / 1000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I believe the return would be in long data type. Not an integer.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 15:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Simple-DATE-to-UNIX-TIME-Convertion-Help-Needed/m-p/2349928#M116841</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-06-16T15:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple DATE to UNIX TIME Convertion Help Needed.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Simple-DATE-to-UNIX-TIME-Convertion-Help-Needed/m-p/2349929#M116842</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The data outputed can be read with double, float or long type.&lt;/P&gt;&lt;P&gt;Here is an example of reverse about converting a UNIX timestamp to a readable date.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/r/en-US/8.0/tmap/tmap-tlogrow-tfileinputdelimited-tfileinputdelimited-converting-unix-timestamp-to-readable-date-standard-component-create" alt="https://help.talend.com/r/en-US/8.0/tmap/tmap-tlogrow-tfileinputdelimited-tfileinputdelimited-converting-unix-timestamp-to-readable-date-standard-component-create" target="_blank"&gt;https://help.talend.com/r/en-US/8.0/tmap/tmap-tlogrow-tfileinputdelimited-tfileinputdelimited-converting-unix-timestamp-to-readable-date-standard-component-create&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 03:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Simple-DATE-to-UNIX-TIME-Convertion-Help-Needed/m-p/2349929#M116842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-19T03:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Simple DATE to UNIX TIME Convertion Help Needed.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Simple-DATE-to-UNIX-TIME-Convertion-Help-Needed/m-p/2349930#M116843</link>
      <description>&lt;P&gt;Thank you very much. This helped a lot.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Vader Out &lt;span class="lia-unicode-emoji" title=":flexed_biceps:"&gt;💪&lt;/span&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 07:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Simple-DATE-to-UNIX-TIME-Convertion-Help-Needed/m-p/2349930#M116843</guid>
      <dc:creator>Lord-Vader</dc:creator>
      <dc:date>2023-06-19T07:04:49Z</dc:date>
    </item>
  </channel>
</rss>

