Freemarker/Velocity - date manipulation
问题 I have a fairly simple question about these 2 templating engines. I'm trying to make a future/past date, a fixed time from now, e.g. 18 months ago, or tomorrow. I know that it is possible to do this with a java date object inside a velocity/freemarker template (something like $date.add(2,-18) ), but I would like to do this with DateTool or freemarker core. This is something that I see as purely presentational (just think at the default dates you see in flight booking forms), so I can't see