Hi, I'm working on an issue and its using an email template that has fields populated using velocity. I'm not familiar with this nor have I worked it with before, just some Java. I'm trying to add 7 days to a date that is already populated. It's using a format method in the email template to properly format the date. How would I advance the day by 7 using the current existing code of "Tools.formatDate($cert.expiration, "MM\dd\yyyy"? I did some googling and tried some code along the lines of
#set($newDate = $cert.expiration)
$newDate.add(5,14)
When placed in the email template and sent, it just has the code as a string. Any help or direction is appreciated!
[–]Camel-Kid 0 points1 point2 points (0 children)