<?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: Difference between now() and today() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575249#M1119312</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;today() function will give you the Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now() will give you Date along with timestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if possible please attach sample qvw .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 07:41:33 GMT</pubDate>
    <dc:creator>nilesh_gangurde</dc:creator>
    <dc:date>2014-01-28T07:41:33Z</dc:date>
    <item>
      <title>Difference between now() and today()</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575248#M1119311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;Can anyone please explain the difference between now() and today() with respect to below two expressions as they are giving me different outputs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; 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;now&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),'DD/MM/YYYY')) - Output is 28/01/2014;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;whereas &lt;/SPAN&gt;=(&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; 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;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),'DD/MM/YYYY')) - Output is 24/01/2014&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But,when I copy this application to a new application both the expressions give the same result as 28/01/2014.But in an application which is already in use the outputs differ as mentioned above.Can anyone Please explain the reason behind this difference&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 07:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575248#M1119311</guid>
      <dc:creator />
      <dc:date>2014-01-28T07:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between now() and today()</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575249#M1119312</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;today() function will give you the Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now() will give you Date along with timestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if possible please attach sample qvw .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 07:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575249#M1119312</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2014-01-28T07:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between now() and today()</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575250#M1119313</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;There is something called as Time Mode. Default Timer Mode for Today and Now differ.See the below explanation from Qlikview Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the default Timer Mode for Today() is 2 which returns the Date when the document was opened whereas for Now() default timer mode is 1 which returns Time at Function call hence the difference in the dates in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4 style="background-color: #c0c0c0;"&gt;&lt;SPAN style="background-color: #316ac5; color: #ffffff;"&gt;now&lt;/SPAN&gt;&lt;A name="kanchor473"&gt;&lt;/A&gt;&lt;A name="now"&gt;&lt;/A&gt;( &lt;SPAN style="font-style: italic;"&gt;[ timer_mode]&lt;/SPAN&gt; )&lt;/H4&gt;&lt;P&gt;Returns a timestamp of the current time from the system clock. The timer_mode may have the following values:&lt;/P&gt;&lt;P&gt;0 Time at script run&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;1 Time at function call&lt;/SPAN&gt;&lt;BR /&gt;2 Time when the document was opened &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Default&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;timer_mode&lt;/SPAN&gt; is 1&lt;/SPAN&gt;. The &lt;SPAN style="font-style: italic;"&gt;timer_mode = 1&lt;/SPAN&gt; should be used with caution, since it polls the operating system every second and hence could slow down the system.&lt;/P&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H4&gt;today&lt;A name="kanchor474"&gt;&lt;/A&gt;&lt;A name="today"&gt;&lt;/A&gt;( &lt;SPAN style="font-style: italic;"&gt;[timer_mode]&lt;/SPAN&gt; )&lt;/H4&gt;&lt;P&gt;Returns the current date from the system clock. The &lt;SPAN style="font-style: italic;"&gt;timer_mode&lt;/SPAN&gt; may have the following values:&lt;/P&gt;&lt;P&gt;0 Date at script run&lt;BR /&gt;1 Date at function call&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;2 Date when the document was opened &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Default &lt;SPAN style="font-style: italic;"&gt;timer_mode&lt;/SPAN&gt; is 2.&lt;/SPAN&gt; The &lt;SPAN style="font-style: italic;"&gt;timer_mode = 1&lt;/SPAN&gt; should be used with caution, since it polls the operating system every second and hence could slow down the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 07:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575250#M1119313</guid>
      <dc:creator />
      <dc:date>2014-01-28T07:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between now() and today()</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575251#M1119314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In both the case, You are defining your Date format, that's why same result...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 11:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575251#M1119314</guid>
      <dc:creator />
      <dc:date>2014-01-28T11:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between now() and today()</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575252#M1119315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;To be more specific below 2 syntax will result in same output. where 1 stands for current function call.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=date(today(1),'DD/MM/YYYY')&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=date(now(),'DD/MM/YYYY') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 04:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-now-and-today/m-p/575252#M1119315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-06T04:05:38Z</dc:date>
    </item>
  </channel>
</rss>

