Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

phayes0289's avatar

Looking for 24-Hour Input Time Solutions

I have an app that i am working on that has a bunch of date-time date fields for which I need to come up with a good user experience for inputting the data via a form. Right now, I am leaning towards a separate date and time field in the form.

For the date input field, I am using bootstrap-datepicker.js. It seems the sister plugin for bootstrap-datepicker.js which is bootstrap-timepicker.js has been depreciated or abandoned.

Is there anything in Laravel or LiveWire that can help me mask and validate an input field for a 24-hour (military time) input field?

Or should I just use a traditional plugin? If so, do you have any suggestions for one that works well?

0 likes
5 replies
martinbean's avatar

@phayes0289 Why do you need a plug-in? Browsers have a native input[type="time"] element for exactly this purpose.

Please or to participate in this conversation.