<?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 get current date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-manipulation/m-p/153665#M30627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you. i've just edited the post. can you answer my second question too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2009 12:19:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-17T12:19:36Z</dc:date>
    <item>
      <title>date manipulation</title>
      <link>https://community.qlik.com/t5/QlikView/date-manipulation/m-p/153663#M30625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any variable or function in QlikView that returns the current system date,time?&lt;/P&gt;&lt;P&gt;Then id like to subtract the current date with a give date and return the number of days.&lt;/P&gt;&lt;P&gt;Any idea on how this can be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 12:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-manipulation/m-p/153663#M30625</guid>
      <dc:creator />
      <dc:date>2009-11-17T12:04:26Z</dc:date>
    </item>
    <item>
      <title>get current date</title>
      <link>https://community.qlik.com/t5/QlikView/date-manipulation/m-p/153664#M30626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. Try now() or localtime(). Keep in mind that they poll the system every second for the time though.&lt;/P&gt;&lt;P&gt;You might want to do now(2) to pull the time when the document was opened.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 12:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-manipulation/m-p/153664#M30626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-17T12:10:38Z</dc:date>
    </item>
    <item>
      <title>get current date</title>
      <link>https://community.qlik.com/t5/QlikView/date-manipulation/m-p/153665#M30627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you. i've just edited the post. can you answer my second question too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 12:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-manipulation/m-p/153665#M30627</guid>
      <dc:creator />
      <dc:date>2009-11-17T12:19:36Z</dc:date>
    </item>
    <item>
      <title>get current date</title>
      <link>https://community.qlik.com/t5/QlikView/date-manipulation/m-p/153666#M30628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you only want the number of days you can use:&lt;/P&gt;&lt;P&gt;=today() - YourDate&lt;/P&gt;&lt;P&gt;This assumes that you've provided your date in a date formatted way, the way specified in the script under DateFormat.&lt;/P&gt;&lt;P&gt;If you want to enter a date into a variable you can use:&lt;/P&gt;&lt;P&gt;=Today() - $(VariableName)&lt;/P&gt;&lt;P&gt;If your date contains a time section too the result will have a decimal part indicating the time of the day. This can be removed by using the floor() function around the expression:&lt;/P&gt;&lt;P&gt;=Floor(Today() - $(VariableName))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 12:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-manipulation/m-p/153666#M30628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-17T12:28:23Z</dc:date>
    </item>
  </channel>
</rss>

