<?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 Reduce data on epoch/java unix time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reduce-data-on-epoch-java-unix-time/m-p/223266#M75800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm extracting data from an oracle database which is using something called epoch time (java date format). Haven't come across this before.&lt;/P&gt;&lt;P&gt;Have been able to convert the strings to timestamps like this:&lt;/P&gt;&lt;P&gt;Let vBASE = num(makedate(01,01,1970));&lt;/P&gt;&lt;P&gt;date($(vBASE) + floor(TRANS_TIME/86400000.0416667)) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where TRANS_TIME is the timestamp from the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to make a reduction on which data I extract but can't find a to do it. Tried with&lt;/P&gt;&lt;P&gt;where num(TRANS_TIME) &amp;gt; num(1240476720);&lt;/P&gt;&lt;P&gt;where year(timestamp($(vBASE) + (TRANS_TIME/86400000.0416667)))&amp;gt; 2010 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the string in the first clause is Fri, 23 Apr 2009 08:52:00 GMT which I get if i enter that date in &lt;A href="http://www.epochconverter.com/"&gt;http://www.epochconverter.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Apr 2010 10:16:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-23T10:16:32Z</dc:date>
    <item>
      <title>Reduce data on epoch/java unix time</title>
      <link>https://community.qlik.com/t5/QlikView/Reduce-data-on-epoch-java-unix-time/m-p/223266#M75800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm extracting data from an oracle database which is using something called epoch time (java date format). Haven't come across this before.&lt;/P&gt;&lt;P&gt;Have been able to convert the strings to timestamps like this:&lt;/P&gt;&lt;P&gt;Let vBASE = num(makedate(01,01,1970));&lt;/P&gt;&lt;P&gt;date($(vBASE) + floor(TRANS_TIME/86400000.0416667)) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where TRANS_TIME is the timestamp from the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to make a reduction on which data I extract but can't find a to do it. Tried with&lt;/P&gt;&lt;P&gt;where num(TRANS_TIME) &amp;gt; num(1240476720);&lt;/P&gt;&lt;P&gt;where year(timestamp($(vBASE) + (TRANS_TIME/86400000.0416667)))&amp;gt; 2010 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the string in the first clause is Fri, 23 Apr 2009 08:52:00 GMT which I get if i enter that date in &lt;A href="http://www.epochconverter.com/"&gt;http://www.epochconverter.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 10:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reduce-data-on-epoch-java-unix-time/m-p/223266#M75800</guid>
      <dc:creator />
      <dc:date>2010-04-23T10:16:32Z</dc:date>
    </item>
  </channel>
</rss>

