Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to add hour minute seconds in php datetime

date('Y-m-d H:i',strtotime('+1 hour +20 minutes',strtotime($start)));
 
PREVIOUS NEXT
Tagged: #add #hour #minute #seconds #php #datetime
ADD COMMENT
Topic
Name
9+4 =