Adding Two Days To The Date

 
<?php
$timestamp= time(  );
echo date("m/d/y G.i:s",$timestamp);
$seconds=2*24*60*60;
$timestamp+=$seconds;
echo "<br />new dates
 is:";
echo date("m/d/y G.i:s",$timestamp);
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.