<?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: Add Hours to Timestamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289689#M1200135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is the inverse. I need to know only hours to compare with a specific value.&lt;/P&gt;&lt;P&gt;I need to compare a DtField which has this format 'DD-MM-YYYY hh:mm:ss' with a value Date#('06:30','hh:mm'). &lt;/P&gt;&lt;P&gt;If its bigger than 6:30, count a Quantity of another field.&lt;/P&gt;&lt;P&gt;But comparing isnt working. I need maybe to broke in a new field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Sep 2014 19:24:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-19T19:24:29Z</dc:date>
    <item>
      <title>Add Hours to Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289685#M1200131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a simple way to add hours to a date. I am hoping that it is not a long converting &amp;amp; concatenating.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 19:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289685#M1200131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-22T19:58:44Z</dc:date>
    </item>
    <item>
      <title>Add Hours to Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289686#M1200132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dinesh,&lt;/P&gt;&lt;P&gt;Use the following example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Date(Date('02/03/2010') + time('22:30', 'hh:mm'), 'DD/MM/YYYY hh:mm:ss')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 20:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289686#M1200132</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-22T20:14:21Z</dc:date>
    </item>
    <item>
      <title>Add Hours to Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289687#M1200133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dinesh,&lt;/P&gt;&lt;P&gt;Try this: timestamp(date#('01/01/2010','MM/DD/YYYY') + maketime(10))&lt;/P&gt;&lt;P&gt;where 01/01/2010 is your date and 10 is the # of hours you want to add. If you have a date field, it would look like this:&lt;/P&gt;&lt;P&gt;timestamp(mydatefield + maketime(10)) as newdatefield&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 20:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289687#M1200133</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-11-22T20:30:39Z</dc:date>
    </item>
    <item>
      <title>Add Hours to Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289688#M1200134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's a field containing a numeric number of hours:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;timestamp(MyDate + NumberOfHours/24)&lt;/P&gt;&lt;P&gt;Or if you're adding a specific number of hours:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;timestamp(MyDate + 50/24)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 20:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289688#M1200134</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-22T20:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Add Hours to Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289689#M1200135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is the inverse. I need to know only hours to compare with a specific value.&lt;/P&gt;&lt;P&gt;I need to compare a DtField which has this format 'DD-MM-YYYY hh:mm:ss' with a value Date#('06:30','hh:mm'). &lt;/P&gt;&lt;P&gt;If its bigger than 6:30, count a Quantity of another field.&lt;/P&gt;&lt;P&gt;But comparing isnt working. I need maybe to broke in a new field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 19:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Hours-to-Timestamp/m-p/289689#M1200135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T19:24:29Z</dc:date>
    </item>
  </channel>
</rss>

