<?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: How to Convert a BigInt to Gregorian date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383039#M421323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Rob. Finally, I've get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sintaxis:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;TimeStamp&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;Makedate&lt;SPAN style="color: #000000;"&gt;(1970,1,1)&lt;/SPAN&gt;+(&lt;SPAN style="color: #ff6600;"&gt;CREATEDTIME&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;/1000) /24/60/60, 'MMM DD, YYYY hh:mm') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #ff6600;"&gt;MiFechaTStampPrueba99&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Solution_BigInttoGregorianDate.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180164_Solution_BigInttoGregorianDate.jpg" style="width: 620px; height: 351px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2017 19:28:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-18T19:28:33Z</dc:date>
    <item>
      <title>How to Convert a BigInt to Gregorian date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383033#M421317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm operating on QSense with a connection to a MYSQL data base.&lt;/P&gt;&lt;P&gt;In my data model, every date fileds are MYSQL BigInt.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="FechasBigInt_MYSQL.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179948_FechasBigInt_MYSQL.jpg" style="width: 620px; height: 168px;" /&gt;&lt;/P&gt;&lt;P&gt;In the QSense stage scripting I need to convert them to a gregorian date format.&lt;/P&gt;&lt;P&gt;Would you mind helping me to figure it out ?&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; mso-fareast-language: ES-AR; color: #c20000; font-size: 12pt; mso-ansi-language: ES; font-family: 'Calibri Light',sans-serif;"&gt;Ulises Yair Ogaz &lt;/STRONG&gt;&lt;SPAN lang="ES" style="color: navy; font-family: 'Calibri Light',sans-serif; mso-ansi-language: ES; mso-fareast-language: ES-AR;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;| &lt;STRONG&gt;Analista Técnico/Desarrollador JDE - SISTEMAS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; mso-fareast-language: ES-AR; color: navy; font-size: 12pt; mso-ansi-language: ES; font-family: 'Calibri Light',sans-serif;"&gt;Laboratorios Casasco S.A.I.C.&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 14:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383033#M421317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-17T14:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert a BigInt to Gregorian date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383034#M421318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What was the format you are expecting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #323232; font-family: ibm-plex-sans, 'Helvetica Neue', Arial, sans-serif;"&gt;For example, the International Organization for Standardization (ISO) format is YYYY-MM-DD. 2013-12-14 is equivalent to the calendar date December 14&lt;/SPAN&gt;&lt;SPAN class="ph sup" style="color: #323232; font-family: ibm-plex-sans, 'Helvetica Neue', Arial, sans-serif;"&gt;th&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #323232; font-size: 10pt; font-family: ibm-plex-sans, 'Helvetica Neue', Arial, sans-serif;"&gt; 2013. Are you expecting similar that?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 15:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383034#M421318</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-17T15:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert a BigInt to Gregorian date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383035#M421319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to convert them to a date or datetime format easy to read. For example:&lt;/P&gt;&lt;P&gt;a) 17/10/17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DD/MM/YY&lt;BR /&gt;b) 17/10/2017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DD/MM/YYYY&lt;BR /&gt;c) 17-10-17 11:51&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DD/MM/YY&amp;nbsp; HH:MM&lt;BR /&gt;d) Oct 17, 2017 11:51 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month DD, YYY HH:MM AM&lt;/P&gt;&lt;P&gt;Thanks in advanced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #c20000; font-family: 'Calibri Light',sans-serif; font-size: 12pt; mso-fareast-language: ES-AR; mso-ansi-language: ES;"&gt;Ulises Yair Ogaz &lt;/STRONG&gt;&lt;SPAN lang="ES" style="color: navy; font-family: 'Calibri Light',sans-serif; mso-fareast-language: ES-AR; mso-ansi-language: ES;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;| &lt;STRONG&gt;Analista Técnico/Desarrollador JDE - SISTEMAS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-family: 'Calibri Light',sans-serif; font-size: 12pt; mso-fareast-language: ES-AR; mso-ansi-language: ES;"&gt;Laboratorios Casasco S.A.I.C.&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 16:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383035#M421319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-17T16:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert a BigInt to Gregorian date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383036#M421320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those look like unix timestamps. Try this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TimeStamp(Makedate(1970,1,1)+ (unixtime/1000) /24/60/60)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 00:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383036#M421320</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-10-18T00:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert a BigInt to Gregorian date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383037#M421321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Rob,&lt;/P&gt;&lt;P&gt;you're right. But I neet to convert from Unix Timestamp to Gregorian format date.&lt;/P&gt;&lt;P&gt;For example: How to convert 1506623932679&amp;nbsp; to&amp;nbsp;&amp;nbsp; "28/09/2017 15:38" or "28/09/2017" or "Sep 28, 2017 03:38 PM" ?&lt;/P&gt;&lt;P&gt;Thanks in advanced&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #c20000; font-family: 'Calibri Light',sans-serif; font-size: 12pt; mso-fareast-language: ES-AR; mso-ansi-language: ES;"&gt;Ulises Yair Ogaz &lt;/STRONG&gt;&lt;SPAN lang="ES" style="color: navy; font-family: 'Calibri Light',sans-serif; mso-fareast-language: ES-AR; mso-ansi-language: ES;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;| &lt;STRONG&gt;Analista Técnico/Desarrollador JDE - SISTEMAS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-family: 'Calibri Light',sans-serif; font-size: 12pt; mso-fareast-language: ES-AR; mso-ansi-language: ES;"&gt;Laboratorios Casasco S.A.I.C.&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 13:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383037#M421321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-18T13:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert a BigInt to Gregorian date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383038#M421322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ulises,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression I gave does just that, converts from unix format to gregorian in your default format.&amp;nbsp; If you want to use an output format other than default, add the optional format mask to the TimeStamp() function:&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;TimeStamp(Makedate(1970,1,1)+ (unixtime/1000) /24/60/60, 'MMM DD, YYYY hh:mm')&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;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 16:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383038#M421322</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-10-18T16:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert a BigInt to Gregorian date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383039#M421323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Rob. Finally, I've get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sintaxis:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;TimeStamp&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;Makedate&lt;SPAN style="color: #000000;"&gt;(1970,1,1)&lt;/SPAN&gt;+(&lt;SPAN style="color: #ff6600;"&gt;CREATEDTIME&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;/1000) /24/60/60, 'MMM DD, YYYY hh:mm') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #ff6600;"&gt;MiFechaTStampPrueba99&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Solution_BigInttoGregorianDate.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180164_Solution_BigInttoGregorianDate.jpg" style="width: 620px; height: 351px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 19:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-a-BigInt-to-Gregorian-date/m-p/1383039#M421323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-18T19:28:33Z</dc:date>
    </item>
  </channel>
</rss>

