Skip to content Skip to sidebar Skip to footer

How To Change Format From 12hrs To 24 Hrs In Html5 Datetime Picker?

I am using datetime picker from Html5. But It is containing 12 Hrs time with A.M or P.M, But I want to set 24 hrs place of A.M, P.M. I am refering this link https://developer.moz

Solution 1:

You can use input type="time" but It depends on the time format of the user's operating system when the web browser was launched. You can change your OS time format and restart your browser to check.

This doesn't support all browser, if you are working with bootstrap is better to use http://jdewit.github.io/bootstrap-timepicker/

Post a Comment for "How To Change Format From 12hrs To 24 Hrs In Html5 Datetime Picker?"