Skip to content

date

Custom field type

All field types

A calendar date with no time of day.

Written as
"Type": "date"
Valid on
Forms, and template fields, Datastore schema, and custom site settings
Stores
{{ date }} — the Liquid object a template reads from this field.
On a form
{{ date_field }} — the control object rendered on a Form. Not the same object as Stores.
Validators
same, not, lte, lt, gte, gt, eq, different
Default value
An ISO 8601 date string.

Properties

Accepted in addition to the shared properties every definition carries.

Property Required Description
Format How the picker displays and parses the date.