Answers for "date-time php"

PHP
1

date now php

date("Y-m-d H:i:s");
Posted by: Guest on October-21-2020
3

datetime php

$dateTime = new \DateTime();
$dateTime->format('Y-m-d H:i:s');
Posted by: Guest on June-15-2020

Browse Popular Code Answers by Language