Answers for "date format in mysql in php"

PHP
0

format date in php

$myDateTime = DateTime::createFromFormat('Y-m-d', $dateString);
$newDateString = $myDateTime->format('d-m-Y');
Posted by: Guest on March-25-2021

Browse Popular Code Answers by Language