Velocity date function??

2007-08-09 Thread Thomas Foster
Hi, I am wanting to write a macro to use in Atlassian Confluence. It basically provides a list of links to the past 12 months of news (each month having its own link). E.g. August 2007 July 2007 June 2007 May 2007 ... However I want the macro to be automated so that when, for example, it

Re: Velocity date function??

2007-08-09 Thread Nathan Bubna
Velocity doesn't provide access to the current date automatically. However, the VelocityTools project does have a DateTool which can do that and much more for you. You can just add an instance of it to the context. http://velocity.apache.org/tools/devel/generic/ On 8/9/07, Thomas Foster [EMAIL