$date = "2022-03-05"; // Format date as month/day/year echo date("m/d/Y", strtotime($date)); // Format date as day/month/year echo date("d/m/Y", strtotime($date));
$date = "2022-03-05"; // Format date as month/day/year echo date("m/d/Y", strtotime($date)); // Format date as day/month/year echo date("d/m/Y", strtotime($date));