Date field

The date of the event

The date field stores an ISO 8601 formatted date string i.e. YYYY-MM-DD.

Usage example

date: fields.date({
  label: 'Event date',
  description: 'The date of the event'
})

Type signature

Find the latest version of this field's type signature at: https://docsmill.dev/npm/@keystatic/core@latest#/.fields.date