<?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 Conditions based on time stamps in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditions-based-on-time-stamps/m-p/311289#M1186772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This gives me correct answers , thank you very very much , you made my expression so simple , i have been trying multiple ways with if statements in the scripts.&lt;/P&gt;&lt;P&gt;Could you please explain what is 24 doing in the expression? i understood 11 is the difference between midnight and 1:00pm , and how are we getting correct values by dividing 24 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2011 04:25:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-31T04:25:53Z</dc:date>
    <item>
      <title>Conditions based on time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-based-on-time-stamps/m-p/311287#M1186770</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;I have 2 columns &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - releasedate(without time stamp)&lt;/P&gt;&lt;P&gt;2- Shiptime ( date with time stamp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to have a condition in my data such that ...i need to count the id's based on shiptime and release date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the release is on say Aug 30 , and ship time is one day before aug 30, that is aug 29th and after 1:00pm , then put it in 'with in 1 day',if ship time is one or more days before 1 pm , then put it in '1 day or more' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i write this condition for a pie chart ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am bit confused ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 18:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-based-on-time-stamps/m-p/311287#M1186770</guid>
      <dc:creator />
      <dc:date>2011-08-30T18:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Conditions based on time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-based-on-time-stamps/m-p/311288#M1186771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood your problem correctly, I would use something like this as flag in the script or as calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( (ReleaseDate - ShipTimestamp) &amp;lt;= 11/24, 'within 1 day ','1 day or more ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dates and Timestamps are numericals in principal, so you can just subtract two dates / timestamps (a timestamp is a date with decimal places). 11/24 is indicating 11 hours, which is the difference between midnight and 1:00 pm the day before, right?&lt;/P&gt;&lt;P&gt;(I noticed though that a Shiptimestamp of exactely 1 pm on Aug 29th and a release date of 30 Aug lead to 1 day or more, one second later and it fell within 1 day).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 22:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-based-on-time-stamps/m-p/311288#M1186771</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-30T22:33:30Z</dc:date>
    </item>
    <item>
      <title>Conditions based on time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-based-on-time-stamps/m-p/311289#M1186772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This gives me correct answers , thank you very very much , you made my expression so simple , i have been trying multiple ways with if statements in the scripts.&lt;/P&gt;&lt;P&gt;Could you please explain what is 24 doing in the expression? i understood 11 is the difference between midnight and 1:00pm , and how are we getting correct values by dividing 24 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 04:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-based-on-time-stamps/m-p/311289#M1186772</guid>
      <dc:creator />
      <dc:date>2011-08-31T04:25:53Z</dc:date>
    </item>
    <item>
      <title>Conditions based on time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-based-on-time-stamps/m-p/311290#M1186773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hours are represented as decimal places / fractional part of a timestamp value, where the whole integer number represents days (1 per day). If a difference of 1 represents one day, 1/24 represents one hour (24 hours a day).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed also that if your shipment is later than release date, it will still count to within 1 day, you could catch that if you want with an additional if.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 07:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-based-on-time-stamps/m-p/311290#M1186773</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-31T07:16:01Z</dc:date>
    </item>
  </channel>
</rss>

