Dash TimePicker


What about a time picker or a date time picker? Any suggestions for best way to ask the user to input a time range or datetime range in Dash?

[Solved] Datepicker in Dash

For now, you will probably just have to use a regular dcc.Input component and parse the response. Using a placeholder like HH:MM:SS could be helpful for the user. You could also try setting dcc.Input(type='time') but note that this input is not supported in Safari. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time for details.


Thanks I’ll try these suggestions and see which works best for me.


A post was split to a new topic: Datepickerrange clearable in tabs not working as expected



i am using type = datetime-local in dcc.Input, but i am not able to format the display, its taking local machine datetime settings. I want to put the format like YYYY-mm-dd HH:SS (24 hours format).

an urgent help on this would be useful.