<?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 Script Logic Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375092#M611451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using below logic to when I'm having condition based on "Hour".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Hour(Date) &amp;lt; 8, Date-1,Date)&amp;nbsp; as Date.tmp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what I want to do is to have condition based on "Minutes"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need logic something like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Minute(Date) &amp;lt; 08:45:00, Date-1,Date)&amp;nbsp; as Date.tmp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2017 06:32:01 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2017-11-27T06:32:01Z</dc:date>
    <item>
      <title>Script Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375092#M611451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using below logic to when I'm having condition based on "Hour".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Hour(Date) &amp;lt; 8, Date-1,Date)&amp;nbsp; as Date.tmp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what I want to do is to have condition based on "Minutes"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need logic something like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Minute(Date) &amp;lt; 08:45:00, Date-1,Date)&amp;nbsp; as Date.tmp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 06:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375092#M611451</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2017-11-27T06:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Script Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375093#M611452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either you could need to elapse time to set as hour to exist like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Minute(Date) &amp;lt; Interval(Interval#(08:45:00,'hh:mm:ss'), 'mm'), Date-1,Date)&amp;nbsp; as Date.tmp&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 06:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375093#M611452</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-27T06:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375094#M611453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for hint , but it's not giving me right output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 07:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375094#M611453</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2017-11-27T07:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375095#M611454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have solved the same problem With this script, maybe need some modification as I use timestampfield and also the other way around. My script is: if time is bigger or Equal than 06 use date else use date-1(yesterday)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;frac&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'hh:mm:ss')))&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('06:00:00'),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-1)) &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;%Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 07:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375095#M611454</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2017-11-27T07:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Script Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375096#M611456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this is working!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton &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, 27 Nov 2017 07:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Logic-Help/m-p/1375096#M611456</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2017-11-27T07:46:18Z</dc:date>
    </item>
  </channel>
</rss>

