Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Calculate the date 6 months old from today, please advise with recipes
Discussion posts and replies are publicly visible
todate(concat(month(ri!date1)-6,"/",day(ri!date1),"/",year(ri!date1)))
This can be simplified as follows -
if( and(eomonth(ri!inputDate, 0) = ri!inputDate, month(ri!inputDate) <> 2), eomonth(ri!inputDate, -ri!numOfmonthsBack), eomonth(ri!inputDate, - (ri!numOfmonthsBack+1)) + day(ri!inputDate) )
FYI this website is useful for validation
https://www.timeanddate.com/date/dateadd.html
It can be simplified even more by using the built in function edate()
docs.appian.com/.../fnc_date_and_time_edate.html
edate(today(), -6)
Thanks
how to get past 3 year from now?