<?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 Rounding timestamp to hour in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663483#M241689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I have a field called readtimestamp% . we have some books where people read we get timestamp. we need to find how many people read per&amp;nbsp; hour on a day.&lt;/P&gt;&lt;P&gt;It has something like &lt;/P&gt;&lt;P&gt;02/02/2014&amp;nbsp; 01:07:00&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;02/02/2014&amp;nbsp; 00:00:14&lt;/P&gt;&lt;P&gt;How can i round them to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;02/02/2014&amp;nbsp; 01:00:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;02/02/2014&amp;nbsp; 00:00:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2014 18:26:23 GMT</pubDate>
    <dc:creator>venkatg6759</dc:creator>
    <dc:date>2014-06-11T18:26:23Z</dc:date>
    <item>
      <title>Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663483#M241689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I have a field called readtimestamp% . we have some books where people read we get timestamp. we need to find how many people read per&amp;nbsp; hour on a day.&lt;/P&gt;&lt;P&gt;It has something like &lt;/P&gt;&lt;P&gt;02/02/2014&amp;nbsp; 01:07:00&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;02/02/2014&amp;nbsp; 00:00:14&lt;/P&gt;&lt;P&gt;How can i round them to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;02/02/2014&amp;nbsp; 01:00:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;02/02/2014&amp;nbsp; 00:00:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 18:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663483#M241689</guid>
      <dc:creator>venkatg6759</dc:creator>
      <dc:date>2014-06-11T18:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663484#M241690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;round(readtimestamp%, 1/24)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 18:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663484#M241690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-11T18:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663485#M241691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope thats giving me the same no of reads per the day. I want to show reads per each hr since each read has a timestamp &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 18:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663485#M241691</guid>
      <dc:creator>venkatg6759</dc:creator>
      <dc:date>2014-06-11T18:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663486#M241692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not clear...&lt;/P&gt;&lt;P&gt;Number of reads per time period doesn't depend on rounding.&amp;nbsp; If it is in the front end chart, timestamp rounded per hour (date-hour) should be your dimension.&amp;nbsp; If it is in the script, you have to group by date-hour.&lt;/P&gt;&lt;P&gt;Can you upload an example of your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 18:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663486#M241692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-11T18:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663487#M241693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;timestamp#(left(Timestamp,10)&amp;amp;' '&amp;amp;MakeTime(left(right(Timestamp,8),2)),'DD/MM/YYYY HH:MM:SS')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Roundtimestamp&lt;/P&gt;&lt;P&gt;from path ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 18:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663487#M241693</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-06-11T18:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663488#M241694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently looking to keep the solution in the front end in dimension.&lt;/P&gt;&lt;P&gt;May be the attached sample give you an idea .&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkata &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 18:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663488#M241694</guid>
      <dc:creator>venkatg6759</dc:creator>
      <dc:date>2014-06-11T18:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663489#M241695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=subfield(DateTime, ' ', 1)&amp;amp; ' ' &amp;amp; time(round(time#(subfield(DateTime, ' ', 3), 'hh:mm:ss'), 1/24), 'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 18:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663489#M241695</guid>
      <dc:creator />
      <dc:date>2014-06-11T18:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663490#M241696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This looks better solution. Can you help me to write in front end .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 19:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663490#M241696</guid>
      <dc:creator>venkatg6759</dc:creator>
      <dc:date>2014-06-11T19:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663491#M241697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If on the front end, use this calculated dimension instead of your current&amp;nbsp; dimension:&lt;/P&gt;&lt;P&gt;=timestamp(round([Consumption Timestamp], 1/24), 'MM/DD/YYYY hh')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 19:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663491#M241697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-11T19:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663492#M241698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi venkata,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this must be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp(round(readtimestamp% * 24) / 24) as readtime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 19:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663492#M241698</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-06-11T19:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663493#M241699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table with a Calculated Dimension, Use the expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =date(floor([Consumption Timestamp],1/24),'DD/MM/YYYY hh:mm:ss') &lt;/P&gt;&lt;P&gt;for the dimension. Change the formating to your region format.&lt;/P&gt;&lt;P&gt;For the expression, use: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Count([%Contact GUID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked for me. Observe that I use floor instead of round.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 19:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663493#M241699</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-06-11T19:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663494#M241700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=DATE(vDateHour, 'DD/MM/YYYY HH:00:00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 19:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663494#M241700</guid>
      <dc:creator>rogerioqv</dc:creator>
      <dc:date>2014-06-11T19:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663495#M241701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;P&gt;but i have a date when we select a date it will show all the timestamps in a day .But here when i select a date it was giving me reads per day instead of hour .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 19:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663495#M241701</guid>
      <dc:creator>venkatg6759</dc:creator>
      <dc:date>2014-06-11T19:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663496#M241702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a new filter (list) with an expression instead of a field. Use the following expression&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =date(floor([Consumption Timestamp]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you filter a date in this list, the other table will show the counts hour-by-hour of that date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 20:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663496#M241702</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-06-11T20:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663497#M241703</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;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=DATE(vDateHour, 'DD/MM/YYYY HH:00:00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 20:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663497#M241703</guid>
      <dc:creator>rogerioqv</dc:creator>
      <dc:date>2014-06-11T20:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663498#M241704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried all the above solutions but unable to get the desired result .&lt;/P&gt;&lt;P&gt;Check the screenshot&lt;/P&gt;&lt;P&gt;It was divided as per the hour but there is no variation in the graph.It shows same reads as per day instead of hour .&lt;/P&gt;&lt;P&gt;Any other solutions or help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 20:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663498#M241704</guid>
      <dc:creator>venkatg6759</dc:creator>
      <dc:date>2014-06-11T20:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663499#M241705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=DATE(vDateHour, 'DD/MM/YYYY HH:00:00')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 20:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663499#M241705</guid>
      <dc:creator>rogerioqv</dc:creator>
      <dc:date>2014-06-11T20:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663500#M241706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup but same result .need to find a way how can i calculate per hour.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 21:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663500#M241706</guid>
      <dc:creator>venkatg6759</dc:creator>
      <dc:date>2014-06-11T21:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663501#M241707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can share qvw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014-06-11 18:00 GMT-03:00 venkatg6759 &amp;lt;qcwebmaster@qlik.com&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;      Qlik Community &amp;lt;http://community.qlik.com/&amp;gt;   Rounding timestamp to&lt;/P&gt;&lt;P&gt;hour&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from venkatg6759&lt;/P&gt;&lt;P&gt;&amp;lt;http://community.qlik.com/people/venkatg6759?et=watches.email.thread&amp;gt; in *App&lt;/P&gt;&lt;P&gt;Development* - View the full discussion&lt;/P&gt;&lt;P&gt;&amp;lt;http://community.qlik.com/message/546804?et=watches.email.thread#546804&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 21:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663501#M241707</guid>
      <dc:creator>rogerioqv</dc:creator>
      <dc:date>2014-06-11T21:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding timestamp to hour</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663502#M241708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the solution is above. I took liberties and utilized a variation of Michael's script (Liked). It is not clear if your dates are month/day/year or day/month/year, but that doesn't matter. Just change the sequence of MM and DD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TimeStamp(Round(vDateHour,1/24),'MM/DD/YYYY hh:00:00') as Rounded_to_Hour1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Rogerio's format seemed to retain the minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="vDateHour.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/60445_vDateHour.bmp" /&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 21:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-timestamp-to-hour/m-p/663502#M241708</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2014-06-11T21:32:15Z</dc:date>
    </item>
  </channel>
</rss>

