+ 3

How to change html input default date format from mm/dd/yyyy to dd/mm/yyyy

Html date input

25th Jul 2022, 10:48 PM
JSON🌠
3 Answers
+ 2
Maybe this helps you https://stackoverflow.com/questions/7372038/is-there-any-way-to-change-input-type-date-format#:~:text=Users%20can%20type%20a%20date,standards%20to%20specify%20the%20format. as it says, that depends on the user's computer
26th Jul 2022, 2:13 AM
Axel LĂłpez
Axel LĂłpez - avatar
+ 2
It set to the locale of your browser or device. Looks like you'll need an API to change it. Seems like a lot of trouble if you ask me. But here's something. https://www.webcomponents.org/element/@fooloomanzoo/datetime-input
26th Jul 2022, 2:30 AM
Chris Coder
Chris Coder - avatar
+ 1
Axel Lopez Chris Coder thanks bosses, I have actually make my research for this, but the client keep saying that's what he want, I guess I will have to configure my browser to display dd/mm/yyyy, and with that I think he will rest.
26th Jul 2022, 5:58 AM
JSONđŸŒ