<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>i am testing lastndays expression using following value,   lastndays(2</title><link>https://community.appian.com/discussions/f/rules/1828/i-am-testing-lastndays-expression-using-following-value-lastndays-2</link><description>i am testing lastndays expression using following value, lastndays(2/15/2013, 6) irrespective of the selected date it always return true .. Any idea why its returning true always.. ... OriginalPostID-94483 OriginalPostID-94483</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: i am testing lastndays expression using following value, &lt;br /&gt;&lt;br /&gt;lastndays(2</title><link>https://community.appian.com/thread/6485?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2014 03:29:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:046e39c8-907c-481a-8de3-05a56809c4b0</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Make the input dynamic. For instance, if testing in the Rules Interface:&lt;br /&gt;&lt;br /&gt;lastndays(ri!date, 6)&lt;br /&gt;&lt;br /&gt;where &amp;quot;date&amp;quot; is a rule input of type date.&lt;br /&gt;&lt;br /&gt;Or build the date you&amp;#39;re passing using the todate() or date() functions.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>