Skip to content

Date Time Range Field

The Date Time Range Field let the user select a range of dates with an explicit starting and ending time with the keyboard.

Basic usage

You can render your Date Time Range Field with either one input using SingleInputDateTimeRangeField or two inputs using MultiInputDateTimeRangeField as show below.

Press Enter to start editing

Uncontrolled vs. Controlled

The component can be uncontrolled or controlled.

Uncontrolled field

Controlled field

Press Enter to start editing

API

See the documentation below for a complete reference to all of the props and classes available to the components mentioned here.