<?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 hours to date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582305#M442988</link>
    <description>&lt;P&gt;Based on the input file provided, what is the number you are hoping to see? What Date should 30:03.8 correspond to?&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2019 15:20:11 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-05-20T15:20:11Z</dc:date>
    <item>
      <title>Convert hours to date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582300#M442987</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an excel data file which has the below data and I would like to convert the data into date format.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TriggerDate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07:06.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;18:02.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23:11.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21:34.0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;52:13.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;29:33.5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please kindly assist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Sanele Zwane&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582300#M442987</guid>
      <dc:creator>skzwane01</dc:creator>
      <dc:date>2024-11-16T03:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Convert hours to date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582305#M442988</link>
      <description>&lt;P&gt;Based on the input file provided, what is the number you are hoping to see? What Date should 30:03.8 correspond to?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 15:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582305#M442988</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-20T15:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Convert hours to date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582349#M442989</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for response. Please see below data. I just noticed that there is another field in the data that can assist in deriving the actual date (Date 2).&amp;nbsp; I say this because I see some the "Date 2" data is on the correct date format however I need to make the data consistent&lt;/P&gt;&lt;P&gt;Based on the data below - Please assist in converting the "Date 2" to the "Date 1" format and the calculation of the Date difference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this makes sense&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date 1&lt;/TD&gt;&lt;TD&gt;Date 2&lt;/TD&gt;&lt;TD&gt;Date Difference&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/09/2016 10:38&lt;/TD&gt;&lt;TD&gt;31/08/2016 18:42&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;08/07/2016 09:06&lt;/TD&gt;&lt;TD&gt;40:34.3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;16/09/2016 13:24&lt;/TD&gt;&lt;TD&gt;40:34.2&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;28/07/2016 11:21&lt;/TD&gt;&lt;TD&gt;26/07/2016 19:06&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;29/07/2016 10:18&lt;/TD&gt;&lt;TD&gt;55:54.9&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;29/09/2016 13:19&lt;/TD&gt;&lt;TD&gt;28/09/2016 15:59&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 20 May 2019 16:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582349#M442989</guid>
      <dc:creator>skzwane01</dc:creator>
      <dc:date>2019-05-20T16:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Convert hours to date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582355#M442991</link>
      <description>&lt;P&gt;But what date are you expecting this to be?&amp;nbsp;&lt;SPAN&gt;40:34.3&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 16:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582355#M442991</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-20T16:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Convert hours to date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582383#M442994</link>
      <description>&lt;P&gt;40:32.3 is 40 hours and 32 minutes and 3 seconds &lt;STRONG&gt;before&lt;/STRONG&gt; the date :'08/07/2016 09:06'&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I need the&amp;nbsp; result of the following calculation in a date format:(08/07/2016 09:06 &lt;STRONG&gt;-&amp;nbsp;&lt;/STRONG&gt;40 hours and 32 minutes and 3 seconds)&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 18:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582383#M442994</guid>
      <dc:creator>skzwane01</dc:creator>
      <dc:date>2019-05-20T18:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert hours to date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582690#M443008</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table:
LOAD [Date 1],
	 TimeStamp(If(Num([Date 2]), [Date 2], [Date 1] - Interval#([Date 2], 'hh:mm.ss'))) as [Date 2],
	 Interval(If(Num([Date 2]), [Date 1] - [Date 2], Interval#([Date 2], 'hh:mm.ss')), 'hh:mm.ss')  as [Date Difference];
LOAD * INLINE [
    Date 1, Date 2
    01/09/2016 10:38, 31/08/2016 18:42,  
    08/07/2016 09:06, 40:34.03,  
    16/09/2016 13:24, 40:34.02,  
    28/07/2016 11:21, 26/07/2016 19:06,  
    29/07/2016 10:18, 55:54.09,  
    29/09/2016 13:19, 28/09/2016 15:59,  
];&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 21 May 2019 11:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-hours-to-date/m-p/1582690#M443008</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-21T11:53:37Z</dc:date>
    </item>
  </channel>
</rss>

