Answers for "change date and time in php"

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 "change date and time in php"

Browse Popular Code Answers by Language