Answers for "php DateTime get hour"

PHP
0

php get hour

$hour = date('H:m:s');
echo $hour;
Posted by: Guest on March-03-2021
3

datetime php

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

date time format php

$today = date("F j, Y, g:i a");                 // March 10, 2001, 5:16 pm
Posted by: Guest on July-22-2020

Browse Popular Code Answers by Language