<?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: date and time calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236544#M393257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be floor Appt Date and add Frac Appt Time to it....&lt;/P&gt;&lt;P&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;TimeStamp#([&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Release Time&lt;/SPAN&gt;], 'DD/MM/YYYY h:mm:ss TT') -&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;(Floor(TimeStamp#(&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;Appt Date&lt;/SPAN&gt;], 'D/M/YYYY h:mm:ss')) +&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Frac(TimeStamp#([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Scheduled Appt Time&lt;/SPAN&gt;], 'D/M/YYYY h:mm:ss TT'))) as NewField&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Mar 2017 22:52:54 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-19T22:52:54Z</dc:date>
    <item>
      <title>date and time calculation</title>
      <link>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236541#M393254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt; I have 3 columns:&lt;/P&gt;&lt;P&gt;Appt Date retrieved thus via SQL:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/12/2016 12:00:00&lt;/P&gt;&lt;P&gt;Scheduled Appt Time; retrieved thus via SQL:&amp;nbsp; 1/01/1900 8:30:00 AM&lt;/P&gt;&lt;P&gt;Release Time: retrieved thus via SQL: 30/11/2016 2:36:00 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to simply subtract the Appt Time from the Release Time but I am stumped how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It took me a while to even see what the Appt Time was doing...&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 22:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236541#M393254</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2017-03-19T22:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: date and time calculation</title>
      <link>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236542#M393255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are these in the same table or is it possible to bring them in the same table using unique key or unique set of keys? If they are then you just need to subtract them I guess (if they are read as date) or help QlikView understand that these are date and then subtract them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Release Time&lt;/SPAN&gt;] - [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Appt Time&lt;/SPAN&gt;] as NewField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TimeStamp#([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Release Time&lt;/SPAN&gt;], 'DD/MM/YYYY h:mm:ss TT') - TimeStamp#(&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Appt Time&lt;/SPAN&gt;], 'D/M/YYYY h:mm:ss') as NewField&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 22:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236542#M393255</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-19T22:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: date and time calculation</title>
      <link>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236543#M393256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;yes they are in the same table but in the above example:&lt;/P&gt;&lt;P&gt;Release time = 30/11/2016 2:36 pm but the Appt Time = 1/01/1900 8:30 am&lt;/P&gt;&lt;P&gt;I need to somehow get rid of the 1/01/1900 component and replace it with the 1/12/2016 from the ApptDate&lt;/P&gt;&lt;P&gt;??&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 22:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236543#M393256</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2017-03-19T22:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: date and time calculation</title>
      <link>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236544#M393257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be floor Appt Date and add Frac Appt Time to it....&lt;/P&gt;&lt;P&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;TimeStamp#([&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Release Time&lt;/SPAN&gt;], 'DD/MM/YYYY h:mm:ss TT') -&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;(Floor(TimeStamp#(&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;Appt Date&lt;/SPAN&gt;], 'D/M/YYYY h:mm:ss')) +&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Frac(TimeStamp#([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Scheduled Appt Time&lt;/SPAN&gt;], 'D/M/YYYY h:mm:ss TT'))) as NewField&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 22:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236544#M393257</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-19T22:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: date and time calculation</title>
      <link>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236545#M393258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;this ended up working ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date((Floor(AppointmentDate) +Frac(ScheduledAppointmentTime)),'dd/MM/yyyy hh:mm' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the complete formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interval(ReleasedTime - date(Floor(AppointmentDate) +Frac(ScheduledAppointmentTime)), 'mm')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Again!&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156782_pastedImage_6.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 00:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236545#M393258</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2017-03-20T00:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: date and time calculation</title>
      <link>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236546#M393259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, I am glad it all worked in the end &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 01:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-and-time-calculation/m-p/1236546#M393259</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-20T01:12:11Z</dc:date>
    </item>
  </channel>
</rss>

