<?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: Formatting Time in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746897#M1044760</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;if your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTime&lt;/SPAN&gt; field is already time/dual (underlying numerical value formatted as time) and you like to round off to minutes, then&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14174246561599251" jivemacro_uid="_14174246561599251" modifiedtitle="true"&gt;
&lt;P&gt;Time(Floor(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTime, 1/1440&lt;/SPAN&gt;),'hh:mm')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTime&lt;/SPAN&gt; field is already time/dual (underlying numerical value formatted as time) and you like to keep the numerical value (incl seconds), then&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14174247471964190" jivemacro_uid="_14174247471964190"&gt;
&lt;P&gt;Time(MyTime, 'hh:mm')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTime&lt;/SPAN&gt; field is text (no underlying numerical value) and you like to round off a newly generated numerical representation to minutes, then&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14174249763275592" jivemacro_uid="_14174249763275592"&gt;
&lt;P&gt;Time(Floor(Time#(MyTime, 'hh:mm:ss TT'),1/1440), 'hh:mm')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTime&lt;/SPAN&gt; field is text (no underlying numerical value) and you like to keep the seconds in a newly generated numerical representation, then&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14174249806654292 jive_text_macro jive_macro_code" jivemacro_uid="_14174249806654292"&gt;
&lt;P&gt;Time(Time#(MyTime, 'hh:mm:ss TT'), 'hh:mm')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 09:10:07 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-12-01T09:10:07Z</dc:date>
    <item>
      <title>Formatting Time in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746895#M1044758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am quite new to Qlikview and needed some assistance with formatting time. Currently, one of my fields 'MyTime' is showing data as:&lt;/P&gt;&lt;P&gt;7:48:20 AM&lt;/P&gt;&lt;P&gt;14:45:54 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me in rounding off the seconds (or just getting rid of the seconds) so that the time appears as:&lt;/P&gt;&lt;P&gt;7:48&lt;/P&gt;&lt;P&gt;14:46&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated.&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;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 05:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746895#M1044758</guid>
      <dc:creator />
      <dc:date>2014-12-01T05:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Time in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746896#M1044759</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;Use Time format HH:mm in the number dialog, or use Time(myField, 'HH:mm') to format in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 05:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746896#M1044759</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-12-01T05:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Time in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746897#M1044760</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;if your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTime&lt;/SPAN&gt; field is already time/dual (underlying numerical value formatted as time) and you like to round off to minutes, then&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14174246561599251" jivemacro_uid="_14174246561599251" modifiedtitle="true"&gt;
&lt;P&gt;Time(Floor(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTime, 1/1440&lt;/SPAN&gt;),'hh:mm')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTime&lt;/SPAN&gt; field is already time/dual (underlying numerical value formatted as time) and you like to keep the numerical value (incl seconds), then&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14174247471964190" jivemacro_uid="_14174247471964190"&gt;
&lt;P&gt;Time(MyTime, 'hh:mm')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTime&lt;/SPAN&gt; field is text (no underlying numerical value) and you like to round off a newly generated numerical representation to minutes, then&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14174249763275592" jivemacro_uid="_14174249763275592"&gt;
&lt;P&gt;Time(Floor(Time#(MyTime, 'hh:mm:ss TT'),1/1440), 'hh:mm')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTime&lt;/SPAN&gt; field is text (no underlying numerical value) and you like to keep the seconds in a newly generated numerical representation, then&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14174249806654292 jive_text_macro jive_macro_code" jivemacro_uid="_14174249806654292"&gt;
&lt;P&gt;Time(Time#(MyTime, 'hh:mm:ss TT'), 'hh:mm')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 09:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746897#M1044760</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-12-01T09:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Time in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746898#M1044761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 23:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746898#M1044761</guid>
      <dc:creator />
      <dc:date>2014-12-01T23:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Time in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746899#M1044762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 23:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-Time-in-Qlikview/m-p/746899#M1044762</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-12-01T23:41:20Z</dc:date>
    </item>
  </channel>
</rss>

