Date and time field
Log in to add to favouritesThe date and time field editors have four distinct flavours, providing the flexibility to capture the data you require.
Type | Summary |
---|---|
Date | A single date picker. |
Date and time | A date and time picker. |
Date range | Two date pickers to provide a range. |
Date and time range | Two date and time pickers to provide a range. |
The date range editors become available when the format of a Date / Time field is set to Range.
Appearance
![](/image-library/resources-images/user-guides-images/date.x63f554f2.png?quality=90&format=webp&width=1200px&height=680px)
![](/image-library/resources-images/user-guides-images/date-time.x86061adb.png?quality=90&format=webp&width=1200px&height=680px)
![](/image-library/resources-images/user-guides-images/date-range.x5447f770.png?quality=90&format=webp&width=1200px&height=680px)
![](/image-library/resources-images/user-guides-images/date-time-range.xcc532fce.png?quality=90&format=webp&width=1200px&height=680px)
Settings
Setting name | Summary |
---|---|
Name | A text label to identify the field in an entry. |
Field ID | A sanitised name to be used by the API. |
Read only | Prevents authors from editing the field in the entry editor. |
Repeatable | Allows an author to create a collection of content of the same type. |
Supported validation
This field editor supports the following validation methods:
Properties
Common properties
Property name | Summary |
---|---|
Placeholder text | The placeholder property provides a short hint describing the expected value of a field. |
Content guidelines | Provides guidance to an author for the expected content the field should contain. |
Past dates
This property determines whether an author can select a date in the past, e.g. a date less than today. This is enabled by default.