fork download
  1. <?php
  2. $data = "2010-01-02";
  3.  
  4. echo date("d-m-Y",strtotime($data));
Success #stdin #stdout 0.03s 52432KB
stdin
Standard input is empty
stdout
02-01-2010