Answers for "how to change long date string to date value 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 "how to change long date string to date value in php"

Browse Popular Code Answers by Language