<?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 transform UNIX date format to ASCII /Windows format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/transform-UNIX-date-format-to-ASCII-Windows-format/m-p/143588#M505944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;if Unix format is number of seconds since 1970/01/01, and QlikView format is number of days since 1900/01/01,it's rather simple to calculate:&lt;/P&gt;&lt;P&gt;QlikView date for 1970/01/01 is 25569. From here, add the number of days based on the Unix Date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;QV Date = 25569 + &amp;lt;UnixDate&amp;gt; / 24 hours / 60 minutes / 60 seconds&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This formula might be off by a day, play with it before implementing.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2009 20:37:15 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2009-05-07T20:37:15Z</dc:date>
    <item>
      <title>transform UNIX date format to ASCII /Windows format</title>
      <link>https://community.qlik.com/t5/QlikView/transform-UNIX-date-format-to-ASCII-Windows-format/m-p/143587#M505943</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 have a data source where tha date and time is under unix format (timstamp: number of seconds since 1970/01/01 00:00:000).&lt;/P&gt;&lt;P&gt;I need to transform this in ASCII timestamp/ Windows Standard. I cannot see a QlikView Function to do this. I can use DADEDIFF when with SQL but I still need to have the result also for csv data sources.&lt;/P&gt;&lt;P&gt;Is anyone aware of a QlikView built-in function? Or maybe a VBScript to calculate?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 20:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/transform-UNIX-date-format-to-ASCII-Windows-format/m-p/143587#M505943</guid>
      <dc:creator />
      <dc:date>2009-05-07T20:11:50Z</dc:date>
    </item>
    <item>
      <title>transform UNIX date format to ASCII /Windows format</title>
      <link>https://community.qlik.com/t5/QlikView/transform-UNIX-date-format-to-ASCII-Windows-format/m-p/143588#M505944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;if Unix format is number of seconds since 1970/01/01, and QlikView format is number of days since 1900/01/01,it's rather simple to calculate:&lt;/P&gt;&lt;P&gt;QlikView date for 1970/01/01 is 25569. From here, add the number of days based on the Unix Date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;QV Date = 25569 + &amp;lt;UnixDate&amp;gt; / 24 hours / 60 minutes / 60 seconds&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This formula might be off by a day, play with it before implementing.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 20:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/transform-UNIX-date-format-to-ASCII-Windows-format/m-p/143588#M505944</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-05-07T20:37:15Z</dc:date>
    </item>
    <item>
      <title>transform UNIX date format to ASCII /Windows format</title>
      <link>https://community.qlik.com/t5/QlikView/transform-UNIX-date-format-to-ASCII-Windows-format/m-p/143589#M505945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, I don't recommend implementing this formula in VBScript function (even though it looks cool) - it will slow things down a lot. Once you nail the exact syntax of the formula, either copy it everywhere you need, or use $() - extensions to encapsulate the logic.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 20:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/transform-UNIX-date-format-to-ASCII-Windows-format/m-p/143589#M505945</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-05-07T20:43:03Z</dc:date>
    </item>
    <item>
      <title>transform UNIX date format to ASCII /Windows format</title>
      <link>https://community.qlik.com/t5/QlikView/transform-UNIX-date-format-to-ASCII-Windows-format/m-p/143590#M505946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot Oleg. It is really simple indeed and logic.&lt;/P&gt;&lt;P&gt;but I didn't think about it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 20:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/transform-UNIX-date-format-to-ASCII-Windows-format/m-p/143590#M505946</guid>
      <dc:creator />
      <dc:date>2009-05-07T20:57:56Z</dc:date>
    </item>
  </channel>
</rss>

