(Quick Reference)

Purpose

The date tag renders the current date/time in the page.

The only attribute supported is "format" which takes a Java date format pattern, in the same way the Grails g.formateDate tag does.

If no value is supplied, it defaults to "dd MMM yyyy".

Example

The date is: <wcm:date/>

This page is Copyright <wcm:date format="yyyy"/> ACME Web Corp.