How can we add 7 days in current date and time

0
In this I want to add 7 days in my current date and time
asked
2 answers
2

Use the addDays() function. First parameter is the Date and second parameter is the integer.

answered
2

You can use the function addDays, also with negative integer as second parameter:

addDays([%CurrentDateTime%], -7) to subtract 7 days from now.

Please read the documentation here: https://docs.mendix.com/refguide/add-date-function-calls

answered