fork(3) download
  1. <?php
  2.  
  3. $dateValue = "2017-02-04 10:00:00";
  4. $time = strtotime($dateValue);
  5. $month = date("m",$time);
  6. echo($month);
Success #stdin #stdout 0s 83904KB
stdin
Standard input is empty
stdout
02