<?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 Calendar with time (timestamp) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314663#M1197579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys for your replys.&lt;BR /&gt;&lt;BR /&gt;Miguel, you're close. Maybe I just didn't understand how to implement your code in my qvw .... What I am after is, if you check out the qvw file, is to create a calendar that holds all possible hour and minute (also likely seconds) combination for each day between oldest timestamp in MyTimestamp and the newest timestamp in MyTimestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is how I find oldest and newest timestamp.&lt;/STRONG&gt;&lt;BR /&gt;&lt;I&gt;LOAD&lt;BR /&gt; min(MyTimestamp) as MinTimestamp,&lt;BR /&gt;max(MyTimestamp) as MaxTimestamp&lt;BR /&gt;Resident MyTable;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is how I create my calendar.&lt;/STRONG&gt; (This is also where I get an error, see earlier post)&lt;BR /&gt;&lt;I&gt;LOAD&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;$(varMinTimestamp) + (rowno() - 1) AS Num,&lt;BR /&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Timestamp(Timestamp#($(varMinTimestamp), 'YYYYMMDD hh:mm:ss') + (rowno() - 1)) AS tempTimestamp&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;AUTOGENERATE&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;$(varMaxTimestamp) - $(varMinTimestamp) + 1;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Thanks, Johan&lt;/P&gt;&lt;P style="font-style: italic"&gt;&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;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2011 13:55:18 GMT</pubDate>
    <dc:creator>qw_johan</dc:creator>
    <dc:date>2011-03-17T13:55:18Z</dc:date>
    <item>
      <title>Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314659#M1197572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have a MasterCalendar that works great. I am now trying to customize it so that it holds time too, using timestamp.&lt;BR /&gt;I saw an example &lt;A href="https://community.qlik.com/forums/t/21099.aspx" target="_blank"&gt;here&lt;/A&gt; on how to do it but I can't get my code to work. Can anybody see what I am doing wrong?&lt;BR /&gt;Any help is appreciated&lt;BR /&gt;I include my qvw file. I keep getting error message : Error in expression: ')' expected&lt;BR /&gt;For what I can tell I am not missing any ")"...&lt;BR /&gt;Below is the code that qlikview doesn't like...[:)]&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(varMinTimestamp) + rowno() - 1 AS Num,&lt;/P&gt;&lt;P&gt;Timestamp(Timestamp#($(varMinTimestamp), 'YYYYMMDD hh:mm:ss') + rowno() - 1) AS tempTimestamp&lt;/P&gt;&lt;P&gt;AUTOGENERATE&lt;/P&gt;&lt;P&gt;$(varMaxTimestamp) - $(varMinTimestamp) + 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankful for any help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 23:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314659#M1197572</guid>
      <dc:creator>qw_johan</dc:creator>
      <dc:date>2011-03-16T23:20:26Z</dc:date>
    </item>
    <item>
      <title>Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314660#M1197574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi dude,&lt;/P&gt;&lt;P&gt;go through this link, it may helps u..&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/35921.aspx"&gt;http://community.qlik.com/forums/t/35921.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;A'run'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 05:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314660#M1197574</guid>
      <dc:creator />
      <dc:date>2011-03-17T05:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314661#M1197576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Johan,&lt;/P&gt;&lt;P&gt;If what you are looking for is a calendar that returns all possible hour:minute combination for each day, you should try with something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;MyTable:&lt;/P&gt;&lt;P&gt;LOAD DayStart(TimeStamp(TimeStamp#('01/01/2011 00:00', 'DD/MM/YYYY hh:mm') + (RecNo()/60/24) + (IterNo() -1))) AS AddedDate, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeStamp(TimeStamp#('01/01/2011 00:00', 'DD/MM/YYYY hh:mm') + (RecNo()/60/24) + (IterNo() -1)) AS AddedTimeStamp&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1439 WHILE Num(Date('01/01/2011') + IterNo() -1) &amp;lt;= Num(Date('31/01/2011'));&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AddedDate is the date, while AddedTimeStamp is the complete timestamp with hours and minutes.&lt;/P&gt;&lt;P&gt;Is that what you are looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 05:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314661#M1197576</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-17T05:33:05Z</dc:date>
    </item>
    <item>
      <title>Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314662#M1197578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 13:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314662#M1197578</guid>
      <dc:creator>qw_johan</dc:creator>
      <dc:date>2011-03-17T13:54:38Z</dc:date>
    </item>
    <item>
      <title>Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314663#M1197579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys for your replys.&lt;BR /&gt;&lt;BR /&gt;Miguel, you're close. Maybe I just didn't understand how to implement your code in my qvw .... What I am after is, if you check out the qvw file, is to create a calendar that holds all possible hour and minute (also likely seconds) combination for each day between oldest timestamp in MyTimestamp and the newest timestamp in MyTimestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is how I find oldest and newest timestamp.&lt;/STRONG&gt;&lt;BR /&gt;&lt;I&gt;LOAD&lt;BR /&gt; min(MyTimestamp) as MinTimestamp,&lt;BR /&gt;max(MyTimestamp) as MaxTimestamp&lt;BR /&gt;Resident MyTable;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is how I create my calendar.&lt;/STRONG&gt; (This is also where I get an error, see earlier post)&lt;BR /&gt;&lt;I&gt;LOAD&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;$(varMinTimestamp) + (rowno() - 1) AS Num,&lt;BR /&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Timestamp(Timestamp#($(varMinTimestamp), 'YYYYMMDD hh:mm:ss') + (rowno() - 1)) AS tempTimestamp&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;AUTOGENERATE&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;$(varMaxTimestamp) - $(varMinTimestamp) + 1;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Thanks, Johan&lt;/P&gt;&lt;P style="font-style: italic"&gt;&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;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 13:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314663#M1197579</guid>
      <dc:creator>qw_johan</dc:creator>
      <dc:date>2011-03-17T13:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314664#M1197580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Johan,&lt;/P&gt;&lt;P&gt;TimeStamp() returns a decimal number (in QlikView, hours are the 1/24 part of a day, and minutes 1/24/60, and seconds and so on). So instead of a timestamp, use a date, which is what you set in your min and max values for dates, so the code looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;MinMaxDates:&lt;/P&gt;&lt;P&gt;LOAD Floor(Min(TimeStamp#(TimeStamp, 'DDMMMYYY:hh:mm:ss'))) AS MinDate, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Floor(Max(TimeStamp#(TimeStamp, 'DDMMMYYY:hh:mm:ss'))) AS MaxDate&lt;/P&gt;&lt;P&gt;RESIDENT MyTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMinDate = FieldValue('MinDate', 1);&lt;/P&gt;&lt;P&gt;LET vMaxDate = FieldValue('MaxDate', 1); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE MinMaxDates; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CalendarTemp:&lt;/P&gt;&lt;P&gt;LOAD DayStart(TimeStamp($(vMinDate) + (RecNo()/60/60/24) + (IterNo() -1))) AS AddedDate, // Use this one as date &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeStamp($(vMinDate) + (RecNo()/60/60/24) + (IterNo() -1)) AS AddedTimeStamp&lt;/P&gt;&lt;P&gt;AUTOGENERATE 86399 WHILE Num($(vMinDate) + IterNo() -1) &amp;lt;= Num($(vMaxDate)); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:LOAD AddedTimeStamp AS MyTimeStamp, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(AddedTimeStamp) AS MyYear,// And so&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create a Calendar with all possible timestamps between the first second (00:00:00) of the first date to the last second (23:59:59) of the last date in your table. It will take long to load depending on the number of dates you have in your model (86399 records per day).&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 14:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314664#M1197580</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-17T14:32:50Z</dc:date>
    </item>
    <item>
      <title>Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314665#M1197581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI!&lt;/P&gt;&lt;P&gt;This was what I was after. Wow, thanks.&lt;BR /&gt;My date inteval isn't too long, usually just a week or two so loading time won't be a problem for me.&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 16:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314665#M1197581</guid>
      <dc:creator>qw_johan</dc:creator>
      <dc:date>2011-03-17T16:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314666#M1197582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this code but when i tried to link it to my table (using timestamp field) i wasn't able to get the result I wanted..please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 05:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314666#M1197582</guid>
      <dc:creator />
      <dc:date>2012-09-13T05:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314667#M1197583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must respect the format of your date field. I'd suggest you to create a new discussion in the Development Desktop QlikCommunity uploading some sample data from your timestamp fields. For what it's worth, the Timestamp() function in QlikView has nothing to do with some RDBM such as SQL Server "timestamp" type fields.&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;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 07:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314667#M1197583</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-09-13T07:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314668#M1197584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I adapted your generator for minutes into my script and it's working fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However what i want to do is to create all 5 Min intervals between MinDate and MaxDate.&lt;/P&gt;&lt;P&gt;e.g. if no event took place between 00:00 and 00:05 i still want to create a value 00:00 for Field 5 Min interval ind order to do rolling period (5 Min) analysis later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i need to change the formula in order to create every 5 min timestamp in stead of every minute?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Unbenannt.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/62395_Unbenannt.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks for any help!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 06:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314668#M1197584</guid>
      <dc:creator />
      <dc:date>2014-07-15T06:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314669#M1197585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I adapted it to&lt;/P&gt;&lt;P&gt;timestamp($(vMinDatum) + (RecNo()/12/24) + (IterNo()-1)) as Minutegeneriert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this gives me the preferred 5 Min intervals... However i am not sure if they are all created?!&lt;/P&gt;&lt;P&gt;Is there a max number of autgenerated events???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRGDS,&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 09:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314669#M1197585</guid>
      <dc:creator />
      <dc:date>2014-07-15T09:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314670#M1197586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;I would like to know is there any difference in Qlik 9 vs 11. Since i used your code (above) and it was working in Qlik 9. Now i am using 11 and it is throwing errors at this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL class="dp-c" start="1"&gt;&lt;LI&gt;CalendarTemp:&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;LOAD DayStart(TimeStamp($(vMinDate) + (RecNo()/60/60/24) + (IterNo() -1))) AS AddedDate, // Use this one as date&amp;nbsp;&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeStamp($(vMinDate) + (RecNo()/60/60/24) + (IterNo() -1)) AS AddedTimeStamp&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;AUTOGENERATE 86399 WHILE Num($(vMinDate) + IterNo() -1) &amp;lt;= Num($(vMaxDate)); &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="num fun error.PNG.png" class="jive-image" src="/legacyfs/online/69596_num fun error.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 00:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314670#M1197586</guid>
      <dc:creator />
      <dc:date>2014-10-24T00:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314671#M1197587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Miguel,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm using this piece of code combined with the remaining master calendar script for time with hour minute but I'm having an issue: it seems that I can't get the code to generate the hh:00 time.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;TABLE style="border: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;floor(MIN(timestamp#(CAL_DATETIME, 'DD-MM-YYYY hh:mm')))&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;as MinDate,&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(...)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vMinDate = peek('MinDate',0);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(...)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;TimeStamp($(vMinDate) + (RecNo()/60/24) + (IterNo() -1)) AS AddedTimeStamp&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;If I try this for the 1st recno in the 1st iterno, then I'm getting, for vMinDate 41914:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;02/10/2014 00:01&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;It seems I can't get the first minute of each hour (hh:00) but only the 2nd (hh:01). I can't figure out what I'm doing wrong here, c&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;ould you please help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;Thanks you very much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;Marina&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 16:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314671#M1197587</guid>
      <dc:creator>marinasbc</dc:creator>
      <dc:date>2014-12-11T16:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314672#M1197588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also getting same error when used in Qlikview 11.2, Can any one please suggest me how to fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Savi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 10:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314672#M1197588</guid>
      <dc:creator />
      <dc:date>2015-03-26T10:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314673#M1197589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to do the same thing so I've happily used your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here how I did:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;MinMaxDates:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;LOAD Floor(Min(TimeStamp#(TimeStamp, 'DDMMMYYY:hh:mm:ss'))) AS MinDate,&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Floor(Max(TimeStamp#(TimeStamp, 'DDMMMYYY:hh:mm:ss'))) AS MaxDate&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;RESIDENT MyTable;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;LET vMinDate = FieldValue('MinDate', 1);&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;LET vMaxDate = FieldValue('MaxDate', 1);&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;DROP TABLE MinMaxDates;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;CalendarTemp:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;LOAD DayStart(TimeStamp($(vMinDate) + (RecNo()/60/60/24) + (IterNo() -1))) AS AddedDate, // Use this one as date&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeStamp($(vMinDate) + (RecNo()/60/60/24) + (IterNo() -1)) AS AddedTimeStamp&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;AUTOGENERATE 86399 WHILE Num($(vMinDate) + IterNo() -1) &amp;lt;= Num($(vMaxDate));&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;Calendar:LOAD AddedTimeStamp AS MyTimeStamp,&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(AddedTimeStamp) AS MyYear&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;MasterCalendar:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp; AddedTimeStamp&amp;nbsp; AS MyTimestamp,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt; Year(AddedTimeStamp)&amp;nbsp; AS MyYear,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt; Month(AddedTimeStamp)&amp;nbsp; AS MyMonth,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt; Day(AddedTimeStamp)&amp;nbsp; AS MyDay,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt; Hour(AddedTimeStamp)&amp;nbsp; AS MyHour,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt; Minute(AddedTimeStamp)&amp;nbsp; AS MyMinute,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt; Second(AddedTimeStamp)&amp;nbsp; AS MySecond&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;RESIDENT CalendarTemp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;ORDER BY AddedTimeStamp&amp;nbsp; ASC;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;DROP TABLE CalendarTemp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All went good and I can see my new fields (MyHour etc) generated in the correct time frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the problem is that when I try to filter with MyHour, MyMinute and so one, the graphs I've created doesn't change.&lt;/P&gt;&lt;P&gt;In fact, filtering with those fields does not affect the the Date_Timestamp field box (does not turn green nore even white) when I select an hour in the MyHour field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why that? &lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;&lt;P&gt;I'm reaaly confused !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 13:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314673#M1197589</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2016-02-16T13:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314674#M1197590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello &lt;/P&gt;&lt;P&gt;it greate work &lt;/P&gt;&lt;P&gt;but you didn't do the join between master tempstime and your dimention table &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 08:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314674#M1197590</guid>
      <dc:creator>bbmmouha</dc:creator>
      <dc:date>2018-06-29T08:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314675#M1197591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello &lt;/P&gt;&lt;P&gt;did you fixe it i have the same problem and i can't solve it &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 12:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314675#M1197591</guid>
      <dc:creator>bbmmouha</dc:creator>
      <dc:date>2018-06-29T12:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with time (timestamp)</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314676#M1197592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Hi omar, you could build the query to make the master calendar with hours??&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;I have the same problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 21:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-time-timestamp/m-p/314676#M1197592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-14T21:36:01Z</dc:date>
    </item>
  </channel>
</rss>

