<?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>check the date is past 45 days</title><link>https://community.appian.com/discussions/f/general/21066/check-the-date-is-past-45-days</link><description>My scenario is to check the date past 45 days. 
 todate(now())-local!creat_dt return intervals(days to Seconds). 
 
 How to retrieve Days from it. Or is there an other solution to find?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: check the date is past 45 days</title><link>https://community.appian.com/thread/92020?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 12:48:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b984f92-1c1f-472e-ae0c-2fdd2fb783c0</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What do you mean with &amp;quot;check&amp;quot;? In general, you can use + and - to add or subtract days from a date.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: check the date is past 45 days</title><link>https://community.appian.com/thread/92019?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 12:09:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eca25f58-4a02-4ce9-9aed-997532f65ff9</guid><dc:creator>saikrishna</dc:creator><description>&lt;p&gt;&lt;span&gt;My scenario is to check the date from today to past&amp;nbsp;20 days&amp;nbsp;how to implement this code&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: check the date is past 45 days</title><link>https://community.appian.com/thread/82087?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 21:06:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ba6f009-1e28-40d7-a61e-ed3d69251ce7</guid><dc:creator>sugasanr300208</dc:creator><description>&lt;p&gt;Awesome&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: check the date is past 45 days</title><link>https://community.appian.com/thread/82085?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 20:25:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:935845a0-53fa-47fb-8fcf-12ff5f33fbbf</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;You just need to compare to intervals&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!localVariables(
  local!diff: tointervalds(today()) - tointervalds(today()-40),
  tointeger(local!diff)
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>