<?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: Exactly How Qlik Sense Convert Epoch Time? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125901#M8784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're using a preceding load in which records are processed bottom to top. So first the SELECT gets the data from the database and then pass them up to the LOAD that's preceding it. Since the SELECT statement doesn't return a timestart field you get the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to find out what's actually in the newstimeStart and newstimeEnd fields by only loading those fields without any further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT newstimeStart, newstimeEnd FROM testDB.time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2018 05:32:17 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2018-10-23T05:32:17Z</dc:date>
    <item>
      <title>Exactly How Qlik Sense Convert Epoch Time?</title>
      <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125896#M8779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure why when I search for examples, I always get from Qlik view but not much from Qlik Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do I actually convert a column whose field name is epochtime to a format that is YYYY-MM-DD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[time]:&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp; date(floor(timestart/ 86400 + 25569)) as DateStart,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date(floor(timeend/ 86400 + 25569)) as DateEnd&lt;/P&gt;&lt;P&gt;FROM testDB.time;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I put DateStart and DateEnd in a table, it only shows me the headers without any date in my column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;DateStart&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;DateEnd&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Empty&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Empty&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Empty&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Empty&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 14:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125896#M8779</guid>
      <dc:creator>wuming79</dc:creator>
      <dc:date>2018-10-22T14:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exactly How Qlik Sense Convert Epoch Time?</title>
      <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125897#M8780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;I'm not sure why when I search for examples, I always get from Qlik view but not much from Qlik Sense.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;1. Because Qlikview exists since 1993 and Qlik Sense for only a fraction of that time.&lt;/P&gt;&lt;P&gt;2. Because people post in the wrong places&lt;/P&gt;&lt;P&gt;3. Because it doesn't matter since the functions and syntax you use in expressions are exactly the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get empty values for DateStart and DateEnd you better check what kind of values actually exist in the fields timestart and timeend. If those are not numeric values but text values then the floor function will return null. Perhaps you need to use the Date# function on those values first to convert strings into dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 14:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125897#M8780</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-10-22T14:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exactly How Qlik Sense Convert Epoch Time?</title>
      <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125898#M8781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysberf, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, actually how can I check if the value is in string or number? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the code below with # &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[time]:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SELECT&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; date#(floor(timestart/ 86400 + 25569)) as DateStart,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; date#(floor(timeend/ 86400 + 25569)) as DateEnd&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM testDB.time;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Qliksense returned error:&lt;/P&gt;&lt;P class="selectable" style="margin: 0 0 0 5px;"&gt;The following error occurred:&lt;/P&gt;&lt;P class="message error" style="font-family: monospace; color: red; font-size: 13px;"&gt;QVX_UNEXPECTED_END_OF_DATA: ERROR [42S22] [Qlik][MySQL] Unknown column 'date' in 'field list'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 02:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125898#M8781</guid>
      <dc:creator>wuming79</dc:creator>
      <dc:date>2018-10-23T02:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exactly How Qlik Sense Convert Epoch Time?</title>
      <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125899#M8782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tried the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD timestart,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Num#(timestart) as newstimeStart,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeend,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Num#(timeend) as newstimeEnd;&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;time&lt;/SPAN&gt;]:&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(floor(newstimeStart/ 86400 + 25569)) as DateStart,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(floor(newstimeEnd/ 86400 + 25569)) as DateEnd&lt;/P&gt;&lt;P&gt;FROM testDB.&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;time&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this returned another error:&lt;/P&gt;&lt;P class="selectable" style="margin: 0 0 0 5px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;The following error occurred:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="message error" style="font-family: monospace; color: red; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Field '&lt;/SPAN&gt;timestart&lt;SPAN style="color: #ff0000;"&gt;' not found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;---&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;The error occurred here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Not sure why does Qlik Sense still look for 'timestart' when I LOAD it before the table?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 04:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125899#M8782</guid>
      <dc:creator>wuming79</dc:creator>
      <dc:date>2018-10-23T04:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exactly How Qlik Sense Convert Epoch Time?</title>
      <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125900#M8783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually that's MySQL that's saying it doesn't understand the date# function. Which makes sense since it's a Qlik Sense function, not an MySQL function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 05:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125900#M8783</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-10-23T05:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exactly How Qlik Sense Convert Epoch Time?</title>
      <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125901#M8784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're using a preceding load in which records are processed bottom to top. So first the SELECT gets the data from the database and then pass them up to the LOAD that's preceding it. Since the SELECT statement doesn't return a timestart field you get the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to find out what's actually in the newstimeStart and newstimeEnd fields by only loading those fields without any further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT newstimeStart, newstimeEnd FROM testDB.time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 05:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125901#M8784</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-10-23T05:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exactly How Qlik Sense Convert Epoch Time?</title>
      <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125902#M8785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp; timestart, timeend &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FROM testDB.time?&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&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;timsstart and timeend is in these format but I can't tell if it is string or number.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;timestart&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;timeend&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1529251200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1529254800&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1529251400&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1529252000&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1529251600&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1529255600&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1529251800&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1529259200&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SELECT newstimeStart, newstimeEnd FROM testDB.time will gives me error as&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="selectable" style="margin: 0 0 0 5px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;The following error occurred:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="message error" style="font-family: monospace; color: red; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;QVX_UNEXPECTED_END_OF_DATA: ERROR [42S22] [Qlik][MySQL] Unknown column 'newstimeStart' in 'field list'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 05:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125902#M8785</guid>
      <dc:creator>wuming79</dc:creator>
      <dc:date>2018-10-23T05:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exactly How Qlik Sense Convert Epoch Time?</title>
      <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125903#M8786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So thinking that it process the SELECT before load, I thought I could convert the timestart to num first without LOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT Num#(timestart) as newstimeStart From testDB.time;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the error below:&lt;/P&gt;&lt;P class="selectable" style="margin: 0 0 0 5px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;The following error occurred:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="message error" style="font-family: monospace; color: red; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;QVX_UNEXPECTED_END_OF_DATA: ERROR [42S22] [Qlik][MySQL] Unknown column 'Num' in 'field list'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="message error" style="font-family: monospace; color: red; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="message error" style="font-family: monospace; color: red; font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;I tried:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="message error" style="font-family: monospace; color: red; font-size: 13px;"&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;SELECT Num#(timestart) as newstimeStart From testDB.time;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and I get the error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px;"&gt;FUNCTION testDB.Num does not exist&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is not a silly question....really having a hard time understanding how Qlik View answers can be used in Qlik Sense...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 05:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125903#M8786</guid>
      <dc:creator>wuming79</dc:creator>
      <dc:date>2018-10-23T05:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exactly How Qlik Sense Convert Epoch Time?</title>
      <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125904#M8787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To start with you should stop using Qlik functions in SQL SELECT statements. The only thing that Qlik Sense does with an SQL statement is send it to the database (actually to the odbc or oledb driver). Your database does not understand Qlik functions so you should use them in SQL statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next use only field names that actually exist in your database. If you post Date(floor(newstimeStart/ 86400 + 25569)) as DateStart, then I assume there is a field in your database with the name newstimeStart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So load data from the database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[testdb.time]:&lt;/P&gt;&lt;P&gt;SELECT timestart, timeend FROM testDB.time;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then take a look at the data. Is any data loaded? Do the values look like numbers? What is the result if you add a kpi object to the app with the measure sum(timestart)? It should be a very large number. Is it? If it is try the next step and add another table that loads the data from testdb.time:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[testdb.time2]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(timestart/86400)+25569,'YYYY-MM-DD') as DateStart,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(timeend/86400)+25569,'YYYY-MM-DD') as DateEnd&lt;/P&gt;&lt;P&gt;RESIDENT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [testdb.time]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 09:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125904#M8787</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-10-23T09:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exactly How Qlik Sense Convert Epoch Time?</title>
      <link>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125905#M8788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to combine and it works!&amp;nbsp; Thanks Gysbert!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[time]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(timestart/86400)+25569,'YYYY-MM-DD') as DateStart,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(timeend/86400)+25569,'YYYY-MM-DD') as DateEnd;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestart, timeend&lt;/P&gt;&lt;P&gt;FROM testDB.time;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 03:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exactly-How-Qlik-Sense-Convert-Epoch-Time/m-p/125905#M8788</guid>
      <dc:creator>wuming79</dc:creator>
      <dc:date>2018-10-24T03:14:17Z</dc:date>
    </item>
  </channel>
</rss>

