Forms

Datetime picker

A date and a time in one field, bound to a single value: when an event starts, a deadline, an appointment. It puts a Date picker and a Time picker side by side.

Starts at
Starts at: null
Blade

"Starts at" over two fields: a date with a calendar and a time with a list of times. Picking December 1st and 9:30 sets $startsAt to '2026-12-01 09:30'. A date without a time is at 00:00.

A default time #

Picking a date fills the time with 18:00, which can be changed; the list of times goes in 15-minute steps.

Due
Due: null
Blade

A range #

A date range picker on its own row, with the check-in and check-out times side by side under it. Picking December 1st to 5th sets $stay to '2026-12-01 12:00/2026-12-05 12:00'; changing the times changes each end. The date picker's range options work through date: (date:min-range="2", date:presets).

Stay
Stay: null
Blade

In a classic form #

The form sends starts_at as 2026-12-01 09:30. A Carbon value or the old input after a failed submit fills it too.

Blade

Options for each picker #

date: reaches the date picker and time: the time picker: here a Today button and week numbers in the calendar, and times in 24-hour format.

Published at
Blade

Reference

Datetime picker

Prop Type Default Description
label string | slot null The title of the field, translated.
description string | slot null Text under the title.
name string null The name the form sends the value under.
value string | DateTimeInterface null Y-m-d H:i, without wire:model or x-model.
defaultTime string null The time (HH:MM) filled in when a date is picked with no time yet (both times with range).
readonly, disabled bool false Lock both pickers (all three with range).
range bool false Picks a start and an end: a date range and two times. The value is start/end.
size string md xs, sm, md, lg, xl, 2xl or 3xl.

wire:model and x-model bind 'Y-m-d H:i', or with range 'Y-m-d H:i/Y-m-d H:i'; null until the date (or both dates) is picked. A value with seconds or a T (2026-12-01T09:30:00) is read too.

tk:datetime-picker

Prefixes

Prefix Goes to
date: The Date picker (date:min="2026-01-01", date:today).
time: The Time picker, both with range (time:interval="15", time:min="08:00").
end-time: The end time's picker, with range, over what time: gives.
error: The validation error.

Customization

Classes go to the <fieldset>. The two pickers take prefixes, with their own props (listed in the Reference above).

Accessibility

A <fieldset> whose legend is the label, with the pickers labelled "Date" and "Time" ("Dates", "Start time" and "End time" with range) for screen readers. Each picker keeps its own keyboard: see Date picker and Time picker.

Behavior notes

  • With range, each end's time is independent: a stay from 14:00 on the first day to 11:00 on the last.
  • The value carries no time zone: it is the date and time as picked.