Add 2 days to the current date in PHP

108

Add 2 days to the current date in PHP -

<?php
  $result = date('d.m.Y', strtotime('+2 day', time()));

  echo $result;
?>

Comments

Submit
0 Comments