Answers for "symfony get current datetime"

PHP
0

symfony get current datetime

$time = new \DateTime();
echo $time->format('H:i:s \O\n Y-m-d');
Posted by: Guest on October-04-2021
0

symfony get current datetime

$time = date('H:i:s \O\n d/m/Y');
Posted by: Guest on October-04-2021

Browse Popular Code Answers by Language