Answers for "php add 1day to unix timestamp"

PHP
0

php add 1 day hours to unix timestamp

strtotime('+1 day', $timestamp);
Posted by: Guest on June-14-2021
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