Answers for "php strtotime format dd/mm/yyyy"

PHP
0

php date strtotime format

$date = '25/05/2010';
$date = str_replace('/', '-', $date);
echo date('Y-m-d', strtotime($date));
Posted by: Guest on December-03-2020

Code answers related to "php strtotime format dd/mm/yyyy"

Browse Popular Code Answers by Language