<?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: Calculate epoch time / milliseconds in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-epoch-time-milliseconds/m-p/1251009#M395928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it - you can use this:&lt;/P&gt;&lt;P&gt;=num(date(today(1)))*86400000 - num(date('1/1/1970'))*86400000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you epoch time in milliseconds for a specified date. Qlik is storing dates as the number of days passed from 1/1/1900, whereas epoch time starts from 1970. Converting the date to milliseconds, and subtracting 1970, will give you the correct epoch time. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2016 09:18:32 GMT</pubDate>
    <dc:creator>sifatnabil</dc:creator>
    <dc:date>2016-11-15T09:18:32Z</dc:date>
    <item>
      <title>Calculate epoch time / milliseconds</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-epoch-time-milliseconds/m-p/1251008#M395927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we calculate the epoch timestamp or epoch time in milliseconds on QlikView? e.g. if I wanted to convert 14/11/2016 00:00:00 to epoch. The time in milliseconds would be &lt;SPAN style="color: #000000; font-family: 'Open Sans', 'Lucida Grande', sans-serif; font-size: 14px;"&gt;1479081600000. Thanks. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 08:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-epoch-time-milliseconds/m-p/1251008#M395927</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-11-15T08:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate epoch time / milliseconds</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-epoch-time-milliseconds/m-p/1251009#M395928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it - you can use this:&lt;/P&gt;&lt;P&gt;=num(date(today(1)))*86400000 - num(date('1/1/1970'))*86400000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you epoch time in milliseconds for a specified date. Qlik is storing dates as the number of days passed from 1/1/1900, whereas epoch time starts from 1970. Converting the date to milliseconds, and subtracting 1970, will give you the correct epoch time. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 09:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-epoch-time-milliseconds/m-p/1251009#M395928</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-11-15T09:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate epoch time / milliseconds</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-epoch-time-milliseconds/m-p/1251010#M395929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;Interval&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;('14/11/2016 09:08:01')-&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;('01/01/1970'),'ssfff') &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Antonio&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 09:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-epoch-time-milliseconds/m-p/1251010#M395929</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-11-15T09:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate epoch time / milliseconds</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-epoch-time-milliseconds/m-p/1251011#M395930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you won't need date() with today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=num(today(1))*86400000 - num(date('1/1/1970'))*86400000&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 09:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-epoch-time-milliseconds/m-p/1251011#M395930</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-11-15T09:44:13Z</dc:date>
    </item>
  </channel>
</rss>

