Skip to main content
Browse Documentation
Date and time field

Date and time field

Created by Contensis product team, last modified by r.saunders on 24 Aug 2020

The 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.

Note: Contensis does not support time without a date, as we store date and times as Coordinated Universal Time (UTC). While there may be some use cases for time on its own, we recommend you use a text field with a regular expression for validation.


Date field editor
Date time field editor
Date range field editor
Date time range field editor


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:


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.