Docs > Tags > date

The <content:date> tag is a date placeholder. Only valid dates will be allowed as input. You can specify the display format of the date using the format attribute.
Name R? Description
id Y Unique id. Alphanumeric, cannot start with a number.
format N Display format. Defaults to dd/MM/yyy.
In the page editor, values typed into a <content:date> container will be automatically parsed and converted to dates. A wide range of date inputs will be recognised, including for example "today", "13 Oct" and "1/4/2007".

Dates are stored internally in "yyyyMMddhhmm" format, and this is how they are serialized in xml.

Example

Birthday: <content:date id="birthday" format="d MMM yyyy"/>

Can't find what you're looking for?

Let us know and we'll see if we can help.