Calculate attribute date value

0
Hey guys, I have a form where i can create a task, the “deadline” attribute value should be automatically set to 72 hours later than the current time, any idea how i should do this ? I’ve read the add date function calls on the mendix guide, this is the example that the guide gives “addHours(dateTime(2007, 1, 1, 1, 1, 1), 25)” , but it doesn’t tell where exactly i have to put the lines. I’m assuming 25 is the amount of +hours that has to be added, no idea what all the 1s are.  
asked
1 answers
2

try this : 

addHours([%CurrentDateTime%], 72). 

answered