Format String - calculate Date + 4 weeks possible?

1
Hi, is it possible to calculate^the value of a Date-attribute + 4 weeks with the help of this widget and display the result as dynamic string? If yes, how? https://marketplace.mendix.com/link/component/264 Thank you!
asked
2 answers
1

Hi Tjark,

You should just be able to use something like the following expression if I understand your question correctly

toString(addDays($currentObject/createdDate, 28))

answered
1

Hello Tjark,

You can also use the ‘addWeeks’ function instead of ‘addDays’. Please check out this document: https://docs.mendix.com/refguide7/add-date-function-calls

answered