fork(1) download
  1. <?php
  2.  
  3. $m = "10";
  4. $y = "2013";
  5. $d = "28";
  6.  
  7.  
  8. $date = date('Y-n-d',strtotime($y. '-' .$m. '-' .$d));
  9. echo $date;
  10. //i always get 2013-10-07
  11.  
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
2013-10-28