Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php add hours to current date

$new_time = date("Y-m-d H:i:s", strtotime('+5 hours'));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #add #hours #current #date
ADD COMMENT
Topic
Name
2+5 =