Home >Backend Development >PHP Tutorial >Question about time picker control
A time picker is used in the project, and the current one is bootstrap-datetimepicker. Because the selection must be accurate to minutes and seconds, you must first select the date when using this component, then enter the hour box to select the hour, and finally enter the minute box to display the minutes. PM thinks this interaction is too bad. So I want to ask if datetimepicker can set the hour and minute boxes to appear together when the day box appears? Or are there other components available that meet my needs? Attached is a picture of the datetimepicker I use and a picture of PM's ideal time picker.
A time picker is used in the project, and the current one is bootstrap-datetimepicker. Because the selection must be accurate to minutes and seconds, you must first select the date when using this component, then enter the hour box to select the hour, and finally enter the minute box to display the minutes. PM thinks this interaction is too bad. So I want to ask if datetimepicker can set the hour and minute boxes to appear together when the day box appears? Or are there other components available that meet my needs? Attached is a picture of the datetimepicker I use and a picture of PM's ideal time picker.
https://eonasdan.github.io/bo...
Set the following attributes on the label
<code>data-date-format="yyyy-mm-dd hh:ii:ss"</code>
in php
Next article:Problem with replacing newline characters within php