Date-time picker

A date and a time, typed or picked from a calendar with the times beside it.

Field

181120260700

When the vessel leaves harbour.

value: "2026-11-18T07:00"

ddmmyyyy––––
ddmmyyyy––––

Only 18 November, from 07:00 to 15:00.

<Field label="Departure">
	<DateTimePicker bind:value step={15} />
</Field>

Rules

  • Type it or pick it. Typing is dd/mm/yyyy hh:mm, 24-hour, and digits move you along, as in the date picker.
  • Picking a day keeps the time; picking a time completes the value and closes.
  • The step is the precision that matters: 15 minutes for a departure, an hour for a booking.
  • The value is local wall-clock time without a zone ("2026-11-18T07:00"): what the user sees is what’s stored. Convert at the edge if you keep UTC.
  • Only a date matters? Use the date picker. A span? The date range picker.