<?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: Using now() with a timestamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40601#M6846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;DateNow&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;()+'06:00','YYYY/MM/DD hh:mm/ss'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2018 22:37:44 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2018-02-26T22:37:44Z</dc:date>
    <item>
      <title>Using now() with a timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40597#M6842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 12.0pt;"&gt;I am trying to use the date: now() + 06:00. This means: The current data at six o' clock in the morning.&lt;/P&gt;&lt;P style="margin-bottom: 12.0pt;"&gt;The used database is Microsoft SQL Server.&lt;/P&gt;&lt;P style="margin-bottom: 12.0pt;"&gt;Newest version of Qlikview 12.&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO data (XUserId is GbYAeHRICaQeFXRODLZA, XPassword is eGXUQGVORJNQEaVMUBQCA);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET DateNow = Timestamp(text(Date(Now( ), 'yyyy/mm/dd ')) &amp;amp;&amp;amp; ’06:00:00’,’yyyy/mm/dd hh24:mm/ss’);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SQL SELECT Customer&lt;/P&gt;&lt;P&gt; FROM DepotSoftware.dbo.tblCustomer&lt;/P&gt;&lt;P&gt;WHERE &lt;SPAN style="font-size: 10pt;"&gt;DateOut &amp;gt; '$(DateNow)' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this work? &lt;/P&gt;&lt;P&gt;Can you use DateNow as startup parameter of the report?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Toon Schilder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 16:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40597#M6842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-16T16:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using now() with a timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40598#M6843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your LET statement defining the variable shows some issues (syntax, format codes) and should return an error when executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do it like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET DateNow = Timestamp(floor(Now(1))+Time#('06:00','hh:mm'),'YYYY/MM/DD hh:mm:ss');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET DateNow = Timestamp(Daystart(Now(1),0,0.25),'YYYY/MM/DD hh:mm:ss');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Feb 2018 19:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40598#M6843</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-02-17T19:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using now() with a timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40599#M6844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds very good. I will try that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In stead of using Now(1) I guess it's also possible to use a parameter when starting up the report? &lt;/P&gt;&lt;P&gt;Is it easy to default this parameter to today?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Feb 2018 12:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40599#M6844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-18T12:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using now() with a timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40600#M6845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shouldn't the date format be set like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SET&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; TimestampFormat='YYYY/MM/DD hh:mm:ss[.fff]';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Feb 2018 13:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40600#M6845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-18T13:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using now() with a timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40601#M6846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;DateNow&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;()+'06:00','YYYY/MM/DD hh:mm/ss'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 22:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-now-with-a-timestamp/m-p/40601#M6846</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-02-26T22:37:44Z</dc:date>
    </item>
  </channel>
</rss>

