<?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: Convert minutes into hour with decimal in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-minutes-into-hour-with-decimal/m-p/405621#M150947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The current values are fractions of one day -- which is how times are stored. To convert to hours with two decimals, the conversion would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;round( (Datetime_End - Datetime_Start ) / (1/24), .01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2013 04:03:14 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2013-03-05T04:03:14Z</dc:date>
    <item>
      <title>Convert minutes into hour with decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-minutes-into-hour-with-decimal/m-p/405620#M150946</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 have two timestamp fields. For example, Datetime_Start and Datetime_End.&lt;/P&gt;&lt;P&gt;First, I want to calculate the difference in minutes between these fields. I am able to achieve using below expression,&lt;/P&gt;&lt;P&gt;Interval((Datetime_End - Datetime_Start ),'mm').&lt;/P&gt;&lt;P&gt;Now, i want to convert that difference into hours with two decimal value. For example, If we have difference is 881in minutes, then i should get 14.68 (881/60). But it shows other value like, 0.01020755.&lt;/P&gt;&lt;P&gt;Why it is happening like this? Is it because the value already in minutes? In this case, how do we change into number before convert into hour with decimals.&lt;/P&gt;&lt;P&gt;I am using QlikView 10 SR3 version. Please let me know. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Durai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 03:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-minutes-into-hour-with-decimal/m-p/405620#M150946</guid>
      <dc:creator>ipauldur</dc:creator>
      <dc:date>2013-03-05T03:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Convert minutes into hour with decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-minutes-into-hour-with-decimal/m-p/405621#M150947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The current values are fractions of one day -- which is how times are stored. To convert to hours with two decimals, the conversion would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;round( (Datetime_End - Datetime_Start ) / (1/24), .01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 04:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-minutes-into-hour-with-decimal/m-p/405621#M150947</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-03-05T04:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Convert minutes into hour with decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-minutes-into-hour-with-decimal/m-p/405622#M150948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob. It works!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 04:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-minutes-into-hour-with-decimal/m-p/405622#M150948</guid>
      <dc:creator>ipauldur</dc:creator>
      <dc:date>2013-03-05T04:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Convert minutes into hour with decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-minutes-into-hour-with-decimal/m-p/1538650#M439301</link>
      <description>Thanks, I was searching this solution by several hours</description>
      <pubDate>Fri, 01 Feb 2019 21:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-minutes-into-hour-with-decimal/m-p/1538650#M439301</guid>
      <dc:creator>medina1024</dc:creator>
      <dc:date>2019-02-01T21:25:09Z</dc:date>
    </item>
  </channel>
</rss>

