<?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 Fetching data between 2 time stamps with AM and PM in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fetching-data-between-2-time-stamps-with-AM-and-PM/m-p/1776005#M717913</link>
    <description>&lt;P&gt;Hello Community, I had a time stamp field with AM and PM values. and my requirement is to fetch the data between previous day 10 PM to current day 9.59 PM. Please help to do it in script level. field name is&amp;nbsp;TIMESTAMP_TAREWT&lt;/P&gt;&lt;P&gt;Sample data attached for your reference.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jan 2021 14:31:17 GMT</pubDate>
    <dc:creator>sudhir0538</dc:creator>
    <dc:date>2021-01-20T14:31:17Z</dc:date>
    <item>
      <title>Fetching data between 2 time stamps with AM and PM</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-data-between-2-time-stamps-with-AM-and-PM/m-p/1776005#M717913</link>
      <description>&lt;P&gt;Hello Community, I had a time stamp field with AM and PM values. and my requirement is to fetch the data between previous day 10 PM to current day 9.59 PM. Please help to do it in script level. field name is&amp;nbsp;TIMESTAMP_TAREWT&lt;/P&gt;&lt;P&gt;Sample data attached for your reference.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 14:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-data-between-2-time-stamps-with-AM-and-PM/m-p/1776005#M717913</guid>
      <dc:creator>sudhir0538</dc:creator>
      <dc:date>2021-01-20T14:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data between 2 time stamps with AM and PM</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-data-between-2-time-stamps-with-AM-and-PM/m-p/1776036#M717914</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50434"&gt;@sudhir0538&lt;/a&gt;&amp;nbsp;, please check if this script works for you :&lt;/P&gt;&lt;P&gt;be carefull with the variables, because i had problems with the comma as decimal separator, but it works!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let vBegin = num(today()-1) + 0.916666666666667;&lt;BR /&gt;Let vEnd = num(today()) + 0.916666666666667;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;LADLENO,&lt;BR /&gt;GROSSWT,&lt;BR /&gt;TAREWT,&lt;BR /&gt;NETWT,&lt;BR /&gt;TAPNO,&lt;BR /&gt;TIMESTAMP_GROSSWT,&lt;BR /&gt;TIMESTAMP_TAREWT&lt;BR /&gt;FROM [C:\Users\fquez\Desktop\Raw_data.xlsx] (ooxml, embedded labels, table is Sheet1)&lt;BR /&gt;&lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;Where&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;TIMESTAMP_TAREWT &amp;gt;= $(vBegin) and TIMESTAMP_TAREWT &amp;lt;= $(vEnd)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 16:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-data-between-2-time-stamps-with-AM-and-PM/m-p/1776036#M717914</guid>
      <dc:creator>QFabian</dc:creator>
      <dc:date>2021-01-20T16:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data between 2 time stamps with AM and PM</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-data-between-2-time-stamps-with-AM-and-PM/m-p/1776058#M717915</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121051"&gt;@QFabian&lt;/a&gt;&amp;nbsp;, Thank you for the solutions. It worked pretty well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please explain those 2 variables and the constant value. TIA.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 17:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-data-between-2-time-stamps-with-AM-and-PM/m-p/1776058#M717915</guid>
      <dc:creator>sudhir0538</dc:creator>
      <dc:date>2021-01-20T17:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data between 2 time stamps with AM and PM</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-data-between-2-time-stamps-with-AM-and-PM/m-p/1776290#M717916</link>
      <description>&lt;P&gt;Sure&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50434"&gt;@sudhir0538&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Let vBegin = num(today()-1) + 0.916666666666667;&lt;/P&gt;&lt;P&gt;Today() -1 (yesterday) : 19-01-2020&lt;BR /&gt;as a number : 43.849&lt;BR /&gt;hour : 22:00&lt;BR /&gt;as a number, is the decimal part : 0,916667&lt;BR /&gt;So, when&amp;nbsp; you sum both&amp;nbsp;43.849 +&amp;nbsp;0,916667&amp;nbsp; --&amp;gt;&amp;nbsp; 43849,916667&amp;nbsp; and&amp;nbsp; if you show it as a timestamp :&lt;BR /&gt;19-01-2020 22:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let vEnd = num(today()) + 0.916666666666667;&lt;BR /&gt;today() : 20-01-2020&lt;BR /&gt;as a number : 43.850&lt;BR /&gt;hour : 22:00&lt;BR /&gt;as a number, is the decimal part : 0,916667&lt;BR /&gt;So, when&amp;nbsp; you sum both&amp;nbsp;43.850 +&amp;nbsp;0,916667&amp;nbsp; --&amp;gt;&amp;nbsp; 43850,916667&amp;nbsp; and&amp;nbsp; if you show it as a timestamp :&lt;BR /&gt;20-01-2020 22:00&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-data-between-2-time-stamps-with-AM-and-PM/m-p/1776290#M717916</guid>
      <dc:creator>QFabian</dc:creator>
      <dc:date>2021-01-21T12:08:14Z</dc:date>
    </item>
  </channel>
</rss>

