<?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 time format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7007#M607070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you but it does work, I have nothing in my new field...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jan 2018 13:40:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-26T13:40:55Z</dc:date>
    <item>
      <title>Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7005#M607068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"&gt;in my excel file, I have data in the format hh: mm: ss that I want to transform in the format hh, m in the script when loading data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"&gt;today I can not transform my data into the desired format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"&gt;Thanks for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 08:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7005#M607068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T08:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7006#M607069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Time(Time#(FieldName, 'hh:mm:ss'), 'hh, m') as FieldName&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 17:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7006#M607069</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-25T17:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7007#M607070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you but it does work, I have nothing in my new field...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 13:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7007#M607070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-26T13:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7008#M607071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may need to manually parse the data if it is formatted as General (string) rather than a date/time in Excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;Time(MakeTime(num(left(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FieldName,2)), num(mid(FieldName,3,3))),'hh, m')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 23:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7008#M607071</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2018-01-29T23:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7009#M607072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"&gt;today I can not transform my data into the desired format.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not sure, I followed this part. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If FieldName = Today() Then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load FieldName From Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Else&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Time(Time#(FieldName, 'hh:mm:ss'), 'hh, m') as FieldName From Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;End If;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 00:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7009#M607072</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-30T00:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7010#M607073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share few rows of data to see your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 12:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7010#M607073</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-30T12:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7011#M607074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are some lines of my Excel file.&lt;/P&gt;&lt;P&gt;I have also some hours in the colum "Time" which are higher than 24:00:00 (max: 239:00:00)&lt;/P&gt;&lt;P&gt;I created the second column to be able to calculate the total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt; Time &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Time in hour&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="250"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="21" width="102"&gt;0:02:53&lt;/TD&gt;&lt;TD class="xl64" width="148"&gt;0,05&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="21"&gt;0:16:48&lt;/TD&gt;&lt;TD class="xl64"&gt;0,28&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="21"&gt;0:10:00&lt;/TD&gt;&lt;TD class="xl64"&gt;0,17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="21"&gt;0:14:51&lt;/TD&gt;&lt;TD class="xl64"&gt;0,25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="21"&gt;0:10:00&lt;/TD&gt;&lt;TD class="xl64"&gt;0,17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="21"&gt;0:10:00&lt;/TD&gt;&lt;TD class="xl64"&gt;0,17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="21"&gt;1:19:17&lt;/TD&gt;&lt;TD class="xl64"&gt;1,32&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="21"&gt;0:00:00&lt;/TD&gt;&lt;TD class="xl64"&gt;0,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="21"&gt;0:00:00&lt;/TD&gt;&lt;TD class="xl64"&gt;0,00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 12:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7011#M607074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T12:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7012#M607075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I doesn't work, I have "-" in my field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 12:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7012#M607075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T12:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7013#M607076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Time)*24&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191915_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 17:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7013#M607076</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-30T17:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7014#M607077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you parse this using the Interval#() function it should be correct, even when hh&amp;gt;24.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interval(Interval#(Time, 'h:mm:ss'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post the script you are trying?&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, 30 Jan 2018 17:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7014#M607077</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-01-30T17:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7015#M607078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Typo should be 4,2 for mid, not 3,3. This also "assumes" the hour part of your string is always 2 digits.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; font-weight: bold;"&gt;Time(MakeTime(num(left(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FieldName,2)), num(mid(FieldName,4,2))),'hh, m')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Rob's answer of interval does not have this restriction so I would go with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 18:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7015#M607078</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2018-01-30T18:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7016#M607079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or may be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD RowNo() as RowNum,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Time,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Interval#(Time, 'h:mm:ss'))*24 as [Time in hour];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:02:53&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:16:48&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:10:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:14:51&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:10:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:10:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1:19:17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 239:00:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191916_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 18:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7016#M607079</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-30T18:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7017#M607080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you it works perfectly!&lt;/P&gt;&lt;P&gt;It was easy in fact..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 10:44:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7017#M607080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-31T10:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Convert time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7018#M607081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thank you it works perfectly!&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It was easy in fact..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 10:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-time-format/m-p/7018#M607081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-31T10:45:16Z</dc:date>
    </item>
  </channel>
</rss>

