Answers for "php add 2 hours to currenttime"

PHP
1

php add hours to current date

$new_time = date("Y-m-d H:i:s", strtotime('+5 hours'));
Posted by: Guest on April-26-2020

Browse Popular Code Answers by Language