Relative Content

Tag Archive for htmldatetimedatetime-format

HTML datetime input field showing wrong format on few systems

In some of my html forms, I am using datetime-local type input field where I am displaying saved value in 24 hours format.
In case of saved value, I first convert that value in formatted datetime value like Y-m-dThh:mm and pass to this html input field. Below is my code: