<?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: Extract time from date time field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698058#M1076669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Time() is a formatting function, hence it doesn't change the underlaying number but the format only. To get the time part only use Frac(), like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;time(&lt;STRONG&gt;frac&lt;/STRONG&gt;(yourdatefield)) as Time,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 12:54:52 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-07-17T12:54:52Z</dc:date>
    <item>
      <title>Extract time from date time field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698054#M1076665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to extract only the time from a date/time field. Either in the load script (ODBF to informix) to in the properties of the list box. I an trying to group time ranges regardless of the date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698054#M1076665</guid>
      <dc:creator />
      <dc:date>2014-07-17T12:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Extract time from date time field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698055#M1076666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;time(yourdatefield) as Time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698055#M1076666</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-07-17T12:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Extract time from date time field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698056#M1076667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That would work at the list level, but the list still sorts by date first even though only the time is diaplayed. I am trying to group and sort by time only regardless of the date. Probably need to get time extracted at the script level ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698056#M1076667</guid>
      <dc:creator />
      <dc:date>2014-07-17T12:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Extract time from date time field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698057#M1076668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Script Load, you can try to create a new time field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Time(YourDateField) as YourTimeField&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;From...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698057#M1076668</guid>
      <dc:creator />
      <dc:date>2014-07-17T12:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extract time from date time field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698058#M1076669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Time() is a formatting function, hence it doesn't change the underlaying number but the format only. To get the time part only use Frac(), like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;time(&lt;STRONG&gt;frac&lt;/STRONG&gt;(yourdatefield)) as Time,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698058#M1076669</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-07-17T12:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extract time from date time field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698059#M1076670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=TIME(FRAC(Timestamp#('17/07/2014 10:30:00','DD/MM/YYYY hh:mm:ss')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace '17/07/2014 10:30:00' with your Date/Time Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, change the&amp;nbsp; DD/MM/YYYY hh:mm:ss according to your timestamp format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-time-from-date-time-field/m-p/698059#M1076670</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-07-17T12:58:02Z</dc:date>
    </item>
  </channel>
</rss>

