×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Apr 2, 2018 2:25 PM
Views: 2962
  1. echo $time = strtotime("2  months ago"), "\n";
  2.  
  3. echo date("Y-m-d", $time);