Hello, i am working on vueJS and want to make my input date input to be dd mm year
(basically its mm dd year)
how can i do this?
i and also how to change placeholder for it?
i want to make input, with placeholder like "hello", and also when someone pick the date, date should be dd mm year
<input type="date" value="2022-07-22" min="1997-10-20" max="2022-07-22">
// more information
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date
@johnDoe220 but i dont get how this will make my value be in DD-MM-YYYY format instead of default MM-DD-YYYY? i dont want to make EXACT value as 2017-06-01 (for example) i want when someone will choose the date, date should be im DD MM YYYY format. or you just show me how to make just value(from my question 1/2) ?
@johnDoe220 No. when user choose a value for my date input, it is automatically recognized as MM-DD-YYYY
For example it will be: 12-25-2021, but i want it to be DD-MM-YYYY , for example : 25-12-2021 .