Hi Tom
The provided code will work fine if we know the number of days/month/year to add/substract.
For e.g.- If we want last date of current month then
1. Store 1st day of next month in var
V_NEXT-->%="1."&month(DateAdd("m",1,now()))&"."&year(now)%
2. Substract 1 from V_NEXT to get last date of current month
%=DateAdd("d",-1,$V_NEXT$)%
But here the DateAdd() is not working
Do you have any alternative solution to this?
Thanks & Regards,
Archana