Skip to content

Typing dates and times ​

Date, time and date and time fields are text fields: you can type into them. The text is read when you press Enter or leave the field. Text that cannot be read goes back to the last value; an empty field clears the value.

While the calendar is open, it follows what you type.

  1. Events appear here.

Dates ​

Numbers are read in the order of the page language: month, day, year in en-US, day, month, year in en-GB and de-DE. Any separator works.

Typed (en-US)Result
10/12/20262026-10-12
10/122026-10-12 (this year)
10/12/262026-10-12
Oct 12, 20262026-10-12
october 122026-10-12
2026-10-122026-10-12 (ISO always works)
2/30/2026not a date, goes back

Month names are matched in the page language, so 12. März 2026 works on a German page.

The placeholder shows the expected order, for example mm/dd/yyyy. Change it with data-fdp-placeholder.

Times ​

TypedResult
9:3009:30
9:30 pm, 9:30PM, 9:30 p.m.21:30
93009:30
909:00
12 am00:00
21:3021:30

Date and time ​

Type the date, then the time: Dec 24, 2026, 8:00 AM or 11/3/2026 9:30 pm. A date alone gets 12:00.

Range ​

The range trigger is not a text field. Pick the dates in the calendar or the presets.

Released under the MIT License.