Answers for "php create from format"

PHP
0

php create from format

<?php
$date = DateTime::createFromFormat('j-M-Y', '15-Feb-2009');
echo $date->format('Y-m-d');
?>
Posted by: Guest on July-08-2020

Browse Popular Code Answers by Language