Skip to content

datetime

Custom field type

All field types

A date and a time of day.

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

Properties

Accepted in addition to the shared properties every definition carries.

Property Required Description
Format How the picker displays and parses the value.
Timezone IANA zone used to interpret the stored value.