Time and Date picker in one field

Hi, I want to create a time and date picker in one field as shown in the example, how I can do that? Your help will be highly appreciated.


see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local

To be honest with Safari and Firefox this input is completely useless (and also super ugly)

On Chrome it is ok, except that the size of the input is too small

Bildschirmfoto 2023-08-10 um 16.39.11

If the default isn’t good enough, you could consider flatpickr.

A tutorial here

1 Like

nice one. If the time would be a select it would be perfect

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.