Another date interval with epoch timestamps : time « Date « PHP






Another date interval with epoch timestamps

 
<?php
$now = time();
$next_week = $now + 7 * 86400;
?>
  
  








Related examples in the same category

1.A simple echo of the timestamp
2.Adding two days to the date
3.int time ( void ) gets the current time in epoch format is time( )