DateTime Macro Expression
Submitted by EastsideVetEmerg on Tue, 19/01/2016 - 18:12
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
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