Answers for "strtotime date"

PHP
1

strtotime format

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

date strtotime

date("d/M/Y", strtotime("2011/02/01"));
Posted by: Guest on October-02-2021

Browse Popular Code Answers by Language