I have a simple php contact form with a date picker.
However, the email received from the form reverses the date eg. instead of 20/3/2023 I get 2023/3/20.
My backend form processor file:
//Assign data form array
$date = $_POST[‘bookdate’];
// Construct email body
$body_message .= ‘Preferred Date: ‘ . $date . “\r\n”;
thanks