You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Maciej Zawadzki <mb...@urbancode.com> on 2003/09/18 21:58:11 UTC
How to get the current time?
Hello,
Is there a way to get the current time from within a Velocity template
without having to pass in a Date reference in the Context?
I would like to display the current time in the file produced by the
template but I do not have access to the context passed into the template.
Any help is appreciated.
Thanks,
--Maciej
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org