You can use addDays function available in Mendix date functions. For details, see https://docs.mendix.com/refguide/add-date-function-calls
An example to add 10 days in current date would be
addDays([%CurrentDateTime%], 10)
You can also explore this demo app to see working of date functions
https://mydemoversion8-sandbox.mxapps.io/p/addtodatetime
I need some help on calculating expiry date. Let’s says today date is 10-7-2019 and I need the robot to calculate 30days to find out what is the expiry date. Anyone have the code to share ? ThanksI need some help on calculating expiry date and day counter. Let’s says today date is 10-7-2019 and I need the robot to calculate 30days to find out what is the expiry date. Anyone have the code to share ? Thanks