Hi Stefan,
On Oct 28, 2010, at 8:15 AM, Stefan abageru wrote:
Hi Lockie !
You can use $xwiki.getDate() inside your velocity code in order to
display the current date.
This is really deprecated stuff and shouldn't be used.
Instead you should use $datetool.
http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/t…
Thanks
-Vincent
Stefan
On 10/28/2010 09:06 AM, Lockie wrote:
> Hi all,
>
> Is there a date property I can use to automatically display the current date
> on a page? I would do it in javascript but you can't embed<script> tags
in
> {{html}} so is there a way of doing it in velocity? I can't seem to find any
> info on this.
>
> Thanks,
>
> Lockie