Hi Lockie !

You can use $xwiki.getDate() inside your velocity code in order to 
display the current date.

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

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to