Answers for "php code to convert 2021-W05 to 2020-05"

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 code to convert 2021-W05 to 2020-05"

Browse Popular Code Answers by Language