Date Field
A Metadata Date Field allows the user to enter a date and/or time into the field.
Bookmarks to the headings on this page:
Details Screen
The Details screen allows you to configure the settings for the Metadata Date Field.
Details
This section allows you to change various details to do with the date field. The Details section of the Details screen is shown in the figure below.

The Details section of the Details screen of a Date Field
The following fields are available:
-
Field Name: by default, the name that was entered when this field was created will appear in this field. You can change the name of the field by clicking into this field and entering the new name.
Tip: You should choose a name for your field that is unique across all Metadata Schemas in your system.
- Friendly Name: enter a friendly name for the field. This will be displayed as the field name on the Metadata screen of an asset. If the name of the field is complicated or does not reflect what should be entered, you may want to enter a Friendly Name. For example, if you have named your field DC.DateCreated, you may want the label on the Metadata screen to show Date Created instead.
- Description: enter a description for the field. This will be displayed on the Metadata screen of an asset. It can be used to display instructions to your users about how to enter a sensible value into the metadata field. For example, if your field is called DateCreated you may wish to enter a description Enter the date that the asset was created.
-
Default Value: enter a default date and time for the field. This will appear on the Metadata screen of an asset. A user can then override the default value for the asset. You can enter a specific date and time by using the fields provided, for example, 1 Jan 2010 12:00:00. You can also set a date a certain period of time in the future or past, for example, 2 weeks from now.
Tip: You can specify a period of time in the past by entering a negative integer, for example, -2 weeks from now. This will set the date as two weeks in the past.
The Default Value can also be specified as a keyword replacement, using the keywords list. These keyword replacements include:- Creation date: this keyword replacement will show the date and time that the asset was created.
- Last updated date: this keyword replacement will show the date and time that the asset was last updated. This is usually the last time the Commit button was clicked on the asset.
- Last published date: this keyword replacement will show the date and time that the Status of the asset was changed to Live.
- Offset: set the offset to be applied to the date and time. For example -1 year or +1 day.
- Display Format: enter the format required for the date and time entered into this field. This format will be used when the date and time is displayed in the HTML source code and within the content of your Site. For a full list of the options that can be used in this field, click on the Click Here link located under the Display Format field on the Details screen.
- Scheme: enter the industry standard scheme for this field, for example AGLS. This will be placed in the HTML source code of a page.
- Language:enter the language for this field, for example English. This will be placed in the HTML source code of a page.
Options
This section allows you to change the options for this field. The Options section of the Details screen is shown in the figure below.

The Options section
The following fields are available:
- Editable: select whether or not this field should be editable on the Metadata screen. If you have entered a default value that you do not want your users to override, you can change this option to No and the field will not be editable.
-
Editing Style: this section allows you to define how the field appears on the Metadata screen:
- Allow “circa.” list: this list allows you to select blank or Allow “circa.”. If you select Allow “circa.”, a list will be displayed on the Metadata screen alongside the field. This will allow the user to indicate that the date and time entered into the field is circa rather than a definite date. If you select the blank value, no additional list will appear on the Metadata screen.
- Show: select the parts of the date and time to show on the Metadata screen. You can select Day, Month, Year, Hour, Min. or Sec. By default, all options are selected. To turn off an option, deselect the box. For example, to turn off the seconds, deselect the box located under the Sec. field.
- Allow Blank: select whether or not a part of the date and time can be left blank. By default, all parts need to be filled in by the user. If you select a part, for example Day, that part can be left blank on the Metadata screen.
- Select box/Text box: select whether to show a list or a text box for each part of the date and time. By default, all parts are displayed using a list of options. To display a text box instead, select the text box option for that part. For example, to show a text box for the year, select Text Box under the Year part.
- Min: this field allows you to set a minimum value for the date and time.
- Max: this field allows you to set a maximum value for the date and time.
- Show keyword selector: select whether or not to show the keyword replacement list on the Metadata screen. By default, this option is set to Yes meaning that the list will appear and the user can select from the keyword replacements Creation date, Last updated date and Last published date.
- Required: select whether or not this field is a required field. If you select Yes, the assets that have this Metadata Schema applied to it will not be able to go Live until a value has been entered into this field.
- Contextable?: select whether or not this field is context-aware. If you select Yes, this field will be allowed to take a different value for each context within the system. The default value of this field can also be set individually for each context. For more information, refer to the Contexts manual.
-
Show On Frontend: select whether or not to show this field in the HTML source code of a page. The options you can select from include:
- Always: select this option to always show this field in the HTML source code of a page.
- Only if Filled: select this option to only show this field in the HTML source code of a page if it has been filled in.
- Never: select this option to never show this field in the HTML source code of a page.