Answers for "how to change format of date in mysql database from 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 "how to change format of date in mysql database from php"

Browse Popular Code Answers by Language