<?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: Separating date and time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Separating-date-and-time/m-p/575964#M1119076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To get only the time and not date of [Vehicle arrival time], you can use:&lt;/P&gt;&lt;P&gt;frac([Vehicle arrival time])&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 10:00:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-28T10:00:40Z</dc:date>
    <item>
      <title>Separating date and time</title>
      <link>https://community.qlik.com/t5/QlikView/Separating-date-and-time/m-p/575963#M1119075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to report how many trucks in my dataset arrived on time. All trucks that arrive within half an hour after their booked time, or on time. To do this, I added the following line to my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If([Vehicle arrival Time]-[Delivery DueTime]&amp;lt;=(1/48), 1,0) as [On time]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the dataset I receive from my carrier is a bit messed up.; under the header [Vehicle arrival time] in the excel file they made it look like with the cell format like they only put a time, but they also put a date there. So in stead of showing for example 0,3563,&amp;nbsp; the data in the cell is 41649,3563. Another problem is also that the data attached to the time is incorrect; they put the same data in every cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I adjust my script, so that it only takes the decimal spaces (so the time) into account, and not the data? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 09:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Separating-date-and-time/m-p/575963#M1119075</guid>
      <dc:creator />
      <dc:date>2014-01-28T09:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Separating date and time</title>
      <link>https://community.qlik.com/t5/QlikView/Separating-date-and-time/m-p/575964#M1119076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To get only the time and not date of [Vehicle arrival time], you can use:&lt;/P&gt;&lt;P&gt;frac([Vehicle arrival time])&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 10:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Separating-date-and-time/m-p/575964#M1119076</guid>
      <dc:creator />
      <dc:date>2014-01-28T10:00:40Z</dc:date>
    </item>
  </channel>
</rss>

