Datetime picker

Single readonly input with two popups — a calendar for the date, a time list for the hour/minute. Both share one Datevalue. With JavaScript off it is a native datetime-local field that submits name with the form.

Default

Selected: —

min / max bounds

Bounded to 2026, 09:00 on 1 January through 17:00 on 31 December. Pick either bound's own day to see the time list narrow with it — any other day keeps all 24 hours.

Selected: —

// A datetime bound, so the TIME half matters: on the bound's own day it// also limits the time list. A bare new Date(2026, 11, 31) is midnight.const min = new Date(2026, 0, 1, 9, 0);const max = new Date(2026, 11, 31, 17, 0);<BsDatetimePicker value={dt} min={min} max={max} showClear                  onValueChange={setDt} />

Source

<BsDatetimePicker value={dt} onValueChange={setDt} name="appointment" />