Question
1
Replies
114
Views
Posted: June 4, 2020
Last activity: June 4, 2020
Needs to show past 6 month date from today's/current date in calendar.
I want to show only past 6 months date in calendar from today's date in calendar. There is an option available to display past and future date but it is accepting value only in years (1,2 years), but I need to show only 6 months.
***Edited by Moderator Marissa to update Platform Capability tags****
Hi Anudeep,
You can use the following function for your requirement.
@FormatDateTime(@addCalendar(@CurrentDateTime(),"0","-6","0","0","0","0","0"),"yyyyMMdd","IST","") which displays the date before 6 months.
For example if the Today date is 6th May 2020, the date before 6 months 5th December 2019