Answers for "var live_on_date = Date('Y-m-d',strtotime(20190201));"

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

Browse Popular Code Answers by Language