Answers for "Add 2 days to the current date in PHP"

PHP
1

Add 2 days to the current date in PHP

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

  echo $result;
?>
Posted by: Guest on April-27-2022

Code answers related to "Add 2 days to the current date in PHP"

Browse Popular Code Answers by Language