Answers for "add 1 hours with timestamp in php"

PHP
1

how to add hour minute seconds in php datetime

date('Y-m-d H:i',strtotime('+1 hour +20 minutes',strtotime($start)));
Posted by: Guest on August-13-2020
0

php add 1 day hours to unix timestamp

strtotime('+1 day', $timestamp);
Posted by: Guest on June-14-2021

Browse Popular Code Answers by Language