fork download
  1. <?php
  2.  
  3. echo $date = date('Y-m-d', strtotime('+1 month', strtotime('2018-01-31')));
  4.  
  5. // your code goes here
Success #stdin #stdout 0.03s 23692KB
stdin
Standard input is empty
stdout
2018-03-03