Dash TimePicker


#1

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
#2

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.


#3

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


#4

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


#5

Hi,

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.