Date field

Defines a date field, which may contain a date/time value. The date/time value is stored as a UTC time in ISO-8601 format - that is, YYYY-MM-DD'T' HH:mm:ss'Z'.

Syntax
<field
    name="NCName"
    id="NCName"?
    type="date"
  >
  <array/>?
  <constraints>...</constraints>?
  ANY-FOREIGN-ELEMENT*
  <parameter/>*
  <options>...</options>?
</field>

Only one form of the constraints element may be used: Boolean constraints.

Attributes
name="NCName"

The name of the field element. Note that no two fields belonging to the same panel may have the same name.

id="NCName" (optional)

The id of the field element. Set this attribute if you want to be able to reference this element using XInclude. Otherwise it is not required.

type="date"

Specifies that this field is a date field.