fork(2) download
  1. <?php
  2.  
  3. echo date("Y-m-t", strtotime("2014-10-29")) . "\n";
  4. echo date("Y-m-t") . "\n"; //data de hoje
  5. echo date("t");
  6.  
  7. //https://pt.stackoverflow.com/q/38632/101
Success #stdin #stdout 0.01s 82624KB
stdin
Standard input is empty
stdout
2014-10-31
2018-09-30
30