<?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: Daystart Function -  time field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402488#M486573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a million!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Mar 2013 20:32:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-30T20:32:22Z</dc:date>
    <item>
      <title>Daystart Function -  time field</title>
      <link>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402482#M486567</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;Goal: Calculate all open tickets for a time intervall between 17:00 yesterday and 17:00 today; &lt;/P&gt;&lt;P&gt;(2) create this time intervall as one time field as "Today".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am assuming would be best is to use the daystart function. Here is the Pseudologic i am aiming to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open = date ticket was opened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&amp;nbsp; Date(Daystart(open &amp;gt; 17:00 (yesterday) &amp;amp; &amp;lt;17:00 (today)) = "Today".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there anyone who has used this function for this purpose? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Bradley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 09:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402482#M486567</guid>
      <dc:creator />
      <dc:date>2013-03-28T09:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Daystart Function -  time field</title>
      <link>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402483#M486568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look up the InDay function in the help file. I think that's the function you're looking for. You can specify when a day starts in that function.&lt;/P&gt;&lt;P&gt;Something like &lt;EM&gt;InDay( open, today(), -1 , 17/24)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 11:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402483#M486568</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-28T11:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Daystart Function -  time field</title>
      <link>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402484#M486569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gsybert!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have introduced the following code into the application (see below)&lt;/P&gt;&lt;P&gt;however it seems to make no difference to the count. I am wondering if the floor function cancels the timestamp on the date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vToday&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1)); &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inDay&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Register&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(), 17/24) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Register&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Register&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;old&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Case &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your help is greatly appreciated in this matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Bradley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 22:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402484#M486569</guid>
      <dc:creator />
      <dc:date>2013-03-28T22:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Daystart Function -  time field</title>
      <link>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402485#M486570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, using the floor function on a datetime (aka timestamp) will remove the time part. Can you post the document you're working on or an example with sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 07:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402485#M486570</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-29T07:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Daystart Function -  time field</title>
      <link>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402486#M486571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hej Gysbert!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your mail.&lt;/P&gt;&lt;P&gt;Here is the application I am working on as well as sample document;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help, I appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 10:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402486#M486571</guid>
      <dc:creator />
      <dc:date>2013-03-29T10:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Daystart Function -  time field</title>
      <link>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402487#M486572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your expression is missing the third parameter, making the fourth the third:&lt;/P&gt;&lt;P&gt;inDay(Reg_date, today(), 17/24) as NewDate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try inDay(Reg_date, today(), -1, 17/24) as NewDate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See Sheet2 on the attached qvw for a some examples of counts using InDay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 18:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402487#M486572</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-29T18:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Daystart Function -  time field</title>
      <link>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402488#M486573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a million!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Mar 2013 20:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daystart-Function-time-field/m-p/402488#M486573</guid>
      <dc:creator />
      <dc:date>2013-03-30T20:32:22Z</dc:date>
    </item>
  </channel>
</rss>

