Answers for "add 1 day to timestamp php"

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

php add 1day to unix timestamp

<?php 
  
echo strtotime("now"), "\n";
echo strtotime('+1 day'); 
  
?>
Posted by: Guest on June-14-2021

Browse Popular Code Answers by Language