Date Time Attribute
The DateTimeAttribute displays a date, and optional time. The date format is displayed as specified in ISO 8601 (YYYY.MM.DD).
The default value of the attribute is the current date (and time) of document object creation.
Example
XML Syntax
<DateTimeAttribute Name="Date of Registration" />
Appearance

XML Attributes
DefaultValue
The default value. Possible values are "empty", "now", or any number of days added to current date. The default value is now.
<DateTimeAttribute Name="Date of Registration" DefaultValue="7"/>
ShowTime
When set to true, the DateTime attribute also displays the time component. The default value is false.
<DateTimeAttribute Name="Date of Registration" ShowTime="true"/>
Last updated
Was this helpful?