Answers for "increase 2 hours php"

PHP
1

show date time with milliseconds php

$now = DateTime::createFromFormat('U.u', microtime(true));
echo $now->format("m-d-Y H:i:s.u");
Posted by: Guest on June-04-2020
0

19 hours from now php

$date = date('h:i:s A', time()+36000); // time() returns a time in seconds already
Posted by: Guest on September-01-2020

Browse Popular Code Answers by Language