yyyy/mm/dd instead expected dd/mm/yyyy format in PHP-created-HTML output
I have an HTML-PHP-CSS contact form with a date field:
<input type="date" name="date" id="cf_input_date"></input>
- The default value in this field is the W3C built-in default:
- The date-picking pattern in this field is the W3C built-in default
Everything was allegedly fine until I printed this HTML as output to my email box (via PHP).
In my email box, the output pattern for picked dates is the exact opposite of the pattern I already use in the form:
Things I have tried to solve it
direction: rtlproperties-values don't help in flipping the output
- Various CSS tricks all ended in failure
How to ensure that my HTML-PHP output is in
dd/mm/yyyy pattern (as default for the input field itself) instead the "flipped"