Answers for "convert date in american format php with hour"

PHP
2

change date format php

$currDate = "2020-08-25";
$changeDate = date("d-m-Y", strtotime($currDate));
echo $changedDate;
Posted by: Guest on August-25-2020

Code answers related to "convert date in american format php with hour"

Browse Popular Code Answers by Language