DateTime Macro Expression

Hi, I want to add a a date into a macro that is 3 days in advance of the current day. I have tried various different iterations of the expressions below but can't get my macros to expand or the date to appear.

Any guidance would be appreciated.

date:add(java.util.Date.new(), "3d")

",date:add(java.util.Date.new(), "3d"),"

date:add(dateTime, "3d")

etc

Thanking you kindly,

Adrian

PS. Running 1.9 test

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: DateTime Macro Expression

The date:add() function was added in 1.9-SNAPSHOT revision 6766. What version are you running?

Re: DateTime Macro Expression

Hi,

that probably explains it. We are running 6740.

Thanks,

Adrian

Syndicate content