<?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: Integer to date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624681#M479347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The difference between the two dates is 2 years, 7 months, 6 days, 22 hours and 54 minutes.&lt;/P&gt;&lt;P&gt;The difference (in integer) is 82.338.826&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I calculated&amp;nbsp; 2 years, 7 months, 6 days, 22 hours and 54 minutes in seconds and this is roughly 82.250.000&lt;/P&gt;&lt;P&gt;Can it be my database returns the date in seconds?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Feb 2014 15:04:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-09T15:04:40Z</dc:date>
    <item>
      <title>Integer to date</title>
      <link>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624680#M479346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding the changing of integer to date.&lt;/P&gt;&lt;P&gt;From the database I have integers, but I can not get the right date out of it.&lt;/P&gt;&lt;P&gt;I've read quite a few posts already, but none helped me solve my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two examples from my database and value in Qlikview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;in database and wanted date in Qlikview: 08-02-2014 10:35:32&lt;/P&gt;&lt;P&gt;integer in Qlikview: 1391852132&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;in database and wanted date in Qlikview: 01-07-2011 11:41:46&lt;/P&gt;&lt;P&gt;integer in Qlikview: 1309513306&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like help or a blogpost to help me solve this issue.&lt;/P&gt;&lt;P&gt;I do not need the time, but I might be helpful to understand why the integer returns this value&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 14:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624680#M479346</guid>
      <dc:creator />
      <dc:date>2014-02-09T14:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Integer to date</title>
      <link>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624681#M479347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The difference between the two dates is 2 years, 7 months, 6 days, 22 hours and 54 minutes.&lt;/P&gt;&lt;P&gt;The difference (in integer) is 82.338.826&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I calculated&amp;nbsp; 2 years, 7 months, 6 days, 22 hours and 54 minutes in seconds and this is roughly 82.250.000&lt;/P&gt;&lt;P&gt;Can it be my database returns the date in seconds?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 15:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624681#M479347</guid>
      <dc:creator />
      <dc:date>2014-02-09T15:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Integer to date</title>
      <link>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624682#M479348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I found the answer in &lt;A href="https://community.qlik.com/message/182826"&gt;How to get date from integer format&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I used&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MakeDate(1970,01,01) + MyDate / 24 / 60 / 60)&amp;nbsp;&amp;nbsp;&amp;nbsp; to solve it.&lt;/P&gt;&lt;P&gt;Looks like it's working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 15:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624682#M479348</guid>
      <dc:creator />
      <dc:date>2014-02-09T15:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Integer to date</title>
      <link>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624683#M479349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it seems your number is in seconds starting from 1970-01-01 (Unix epoch ?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this expression &lt;/P&gt;&lt;P&gt;= date((1391852132 / ( 60*60*24)) + Date#('01-01-1970', 'DD-MM-YYYY'), 'DD-MM-YYYY hh:mm:ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result is&lt;/P&gt;&lt;P&gt;08-02-2014 09:35:32&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 15:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624683#M479349</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-09T15:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Integer to date</title>
      <link>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624684#M479350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is the Unix Timestamp. &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/ideas/2517" title="http://community.qlik.com/ideas/2517"&gt;http://community.qlik.com/ideas/2517&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 15:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integer-to-date/m-p/624684#M479350</guid>
      <dc:creator>jonasheisterkam</dc:creator>
      <dc:date>2014-02-09T15:18:17Z</dc:date>
    </item>
  </channel>
</rss>

