Date and time picker
A date field takes a day you type or pick from a calendar. A time field takes a time you type or pick from a list.
When to use it
Use a date field for one day, such as a start date, a passport expiry or an interview. For a period, use two fields labelled Start and End. The second calendar opens on the month of the first and does not offer earlier days.
For a date of birth or any day far from today, typing is faster. The calendar is for days close to today.
Anatomy
The date field is a text field with a calendar button at its end. The calendar shows one month from Monday, with a dot under today and the chosen day in brand blue. Days of the months around it are left blank, and days that cannot be chosen fade.
- Field
- a text field with a 32 px calendar button at its end
- Calendar width
- 284 px
- Calendar padding
- 12 px
- --space-3
- Calendar corner radius
- 12 px
- --radius-xl
- Day
- 36 px high, 14 px figures
- --text
- Gap between days
- 2 px
- Weekday names
- 11 px on 16 px
- --text-muted
- Chosen day
- brand fill, white bold figures
- --brand-true
- Today
- a 4 px dot under the figures
- --brand-true
- Days that cannot be chosen
- faded to 30 percent
Time
Type a time as 14:30, or pick one from a list of slots 30minutes apart, grouped into morning, afternoon and evening. The clock is 24 hour unless the person's settings say otherwise.
When people in different time zones read the same time, as for an interview, the hint names the zone.
A date without a time is a calendar day. It is stored and shown without a time zone, so it does not move by a day for a colleague in Kathmandu.
- Slots
- every 30 minutes, 08:00 to 21:00
- Slot row
- 36 px, 44 px on touch
Typing a date
The field reads a date written day first, with dots, slashes or spaces, or with the name of the month: 28.9.2026, 28/09/2026 and 28 Sep 2026 all work. Write the year in full.
When the person leaves the field, the date shows as 28 Sep 2026, with the month in their language. A date the field cannot read keeps its text and gets an error with an example.
- Shown as
- 28 Sep 2026
- Order
- Day, month, year
- Week starts on
- Monday
Keyboard
The calendar opens with focus on the chosen day, or on today. One day is a tab stop, and the arrow keys move between days and across months.
- Left and Right arrows
- Previous and next day
- Up and Down arrows
- Same day of the previous and next week
- Home and End
- First and last day of the week
- Page Up and Page Down
- Previous and next month
- Shift with Page Up or Page Down
- Previous and next year
- Enter or Space
- Chooses the day and closes
- Escape
- Closes without a change
Touch screens and screen readers
On a touch screen the field opens the device's own date or time picker. It is made for fingers, speaks the person's language and does not zoom the page.
The calendar is a dialog named after the field. Each day is read with its full date, the chosen day as selected and today as the current date. The month name above the grid is announced when it changes.
Permitted and not permitted
Permitted
28 Sep 2026
It reads the same in Kathmandu, Zagreb and Chicago.
Not permitted
09/10/2026
It is 10 September in Chicago and 9 October in Zagreb.