<?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 Calender Object is not working properly when we are dealing with time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calender-Object-is-not-working-properly-when-we-are-dealing-with/m-p/1360471#M843511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; I have scenario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have calendar object and my records are with time like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 276px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" width="276"&gt;2014/12/25 8:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;2014/12/25 11:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created calendar object and with few years data.&lt;/P&gt;&lt;P&gt;I&lt;STRONG&gt;ssue is if i select start date and end date it is not taking end date records becuase&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end date is showing here is 2016/12/29&amp;nbsp; 12:00:00 AM which is taking &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; 2016/12/28 12:00:00 PM.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me the solution when we are dealing the calendar object with time scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here if we select end date as &lt;STRONG style="font-size: 13.3333px;"&gt;2016/12/30&amp;nbsp;&amp;nbsp; then &lt;STRONG style="font-size: 13.3333px;"&gt;2016/12/30&amp;nbsp; records will come &lt;/STRONG&gt;&lt;/STRONG&gt;other wise&amp;nbsp; it won' come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actua;&lt;/P&gt;&lt;P&gt;If we select enddate as&amp;nbsp; &lt;STRONG style="font-size: 13.3333px;"&gt;2016/12/29 then &lt;STRONG style="font-size: 13.3333px;"&gt;2016/12/30 records need be prsenet.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check, end date and do the needful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Thiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Calender Object is not working properly when we are dealing with time</title>
      <link>https://community.qlik.com/t5/QlikView/Calender-Object-is-not-working-properly-when-we-are-dealing-with/m-p/1360471#M843511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; I have scenario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have calendar object and my records are with time like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 276px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" width="276"&gt;2014/12/25 8:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;2014/12/25 11:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created calendar object and with few years data.&lt;/P&gt;&lt;P&gt;I&lt;STRONG&gt;ssue is if i select start date and end date it is not taking end date records becuase&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end date is showing here is 2016/12/29&amp;nbsp; 12:00:00 AM which is taking &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; 2016/12/28 12:00:00 PM.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me the solution when we are dealing the calendar object with time scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here if we select end date as &lt;STRONG style="font-size: 13.3333px;"&gt;2016/12/30&amp;nbsp;&amp;nbsp; then &lt;STRONG style="font-size: 13.3333px;"&gt;2016/12/30&amp;nbsp; records will come &lt;/STRONG&gt;&lt;/STRONG&gt;other wise&amp;nbsp; it won' come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actua;&lt;/P&gt;&lt;P&gt;If we select enddate as&amp;nbsp; &lt;STRONG style="font-size: 13.3333px;"&gt;2016/12/29 then &lt;STRONG style="font-size: 13.3333px;"&gt;2016/12/30 records need be prsenet.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check, end date and do the needful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Thiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calender-Object-is-not-working-properly-when-we-are-dealing-with/m-p/1360471#M843511</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calender Object is not working properly when we are dealing with time</title>
      <link>https://community.qlik.com/t5/QlikView/Calender-Object-is-not-working-properly-when-we-are-dealing-with/m-p/1360472#M843512</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;May be try with &lt;STRONG&gt;DayStart()&lt;/STRONG&gt; and &lt;STRONG&gt;DayEnd()&lt;/STRONG&gt; function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Starttime&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))=0 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Endtime&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))=0,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;YearMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=Date(DayStart(Vstartdate), 'YYYY/MM/DD h:mm:ss TT'))&amp;lt;=$(=Date(DayEnd(Venddate), 'YYYY/MM/DD h:mm:ss TT'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"=(Frac(Time) + 1/86400) &amp;gt;= Time#(Starttime, 'h:mm TT') and (Frac(Time) - 1/86400) &amp;lt;= Time#(Endtime, 'h:mm TT')"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Country&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;YearMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=Date(DayStart(Vstartdate), 'YYYY/MM/DD h:mm:ss TT'))&amp;lt;=$(=Date(DayEnd(Venddate), 'YYYY/MM/DD h:mm:ss TT'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Country&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 10:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calender-Object-is-not-working-properly-when-we-are-dealing-with/m-p/1360472#M843512</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2017-04-07T10:33:36Z</dc:date>
    </item>
  </channel>
</rss>

