<?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 constructed timestamp, ?how in qlikview? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146740#M25256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heh, that's a good start, but I guess I should've entitled my post "?How do you glue a Date and a Time together to make a Timestamp?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2009 22:14:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-15T22:14:12Z</dc:date>
    <item>
      <title>constructed timestamp, ?how in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146738#M25254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My query gives me, among other things, a date like '05-27-2009', a value of hours, like 3 or 21 and a value of minutes, calculated to be either 00, 15, 30, or 45.&lt;/P&gt;&lt;P&gt;?So how do I turn that into a qlikview timestamp that I can use as a line-graph dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 12:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146738#M25254</guid>
      <dc:creator />
      <dc:date>2009-06-15T12:00:03Z</dc:date>
    </item>
    <item>
      <title>constructed timestamp, ?how in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146739#M25255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to concatenate the elements together then format the result as a timestamp - see the use of the 'timestamp#' function.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 16:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146739#M25255</guid>
      <dc:creator />
      <dc:date>2009-06-15T16:22:45Z</dc:date>
    </item>
    <item>
      <title>constructed timestamp, ?how in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146740#M25256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heh, that's a good start, but I guess I should've entitled my post "?How do you glue a Date and a Time together to make a Timestamp?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 22:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146740#M25256</guid>
      <dc:creator />
      <dc:date>2009-06-15T22:14:12Z</dc:date>
    </item>
    <item>
      <title>constructed timestamp, ?how in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146741#M25257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I usually use the PEEK statement in a variable during load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;In script&lt;/P&gt;&lt;P&gt;Timestamp(Max(timestamp#([vMaxDate, 'YYYY-MM-DD hh:mm:ss'))) &lt;B&gt;AS&lt;/B&gt; [TIMESTAMP]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMaxDate = peek('MaxDate', 0, 'TEMP');&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 22:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146741#M25257</guid>
      <dc:creator>james</dc:creator>
      <dc:date>2009-06-15T22:35:36Z</dc:date>
    </item>
    <item>
      <title>constructed timestamp, ?how in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146742#M25258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a combination of functions MakeDate() and MakeTime(). Your complete "glue it all" formula would be:&lt;/P&gt;&lt;P&gt;MyDate = MakeDate(MyYear, MyMonth, MyDay) + MakeTime(MyHours, MyMinutes, MySeconds, MyMilliseconds)&lt;/P&gt;&lt;P&gt;Keep in mind that the Date fields in QlikView carry a numeric value and a "formatted" text. The formula above calculates the numeric value (where 1 day = 1), and now you can format it any way, using function Date():&lt;/P&gt;&lt;P&gt;Date = Date(MyDate, 'MM/DD/YYYY hh:mm:ss:fff")&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>Mon, 15 Jun 2009 22:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146742#M25258</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-06-15T22:37:44Z</dc:date>
    </item>
    <item>
      <title>constructed timestamp, ?how in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146743#M25259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks for the ideas, all.&lt;/P&gt;&lt;P&gt;The dimension ended up being this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;timestamp(date_created_on + MakeTime(hour, minute)) &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;So it's a VB-like combo of Gordon and Oleg's advice. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 23:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/constructed-timestamp-how-in-qlikview/m-p/146743#M25259</guid>
      <dc:creator />
      <dc:date>2009-06-15T23:13:48Z</dc:date>
    </item>
  </channel>
</rss>

