Answers for "php add 23 hours to date"

PHP
1

add 1 day php datetime

$date = new DateTime('2000-01-01');
$date->add(new DateInterval('P1D'));
Posted by: Guest on November-04-2020
0

add one day to timestamp

time() + 24*60*60;
Posted by: Guest on July-20-2020

Browse Popular Code Answers by Language