fork(3) download
  1. <?php
  2. $y = 1;
  3. $rowValue[$y] = '16-08-2013';
  4. $rowValue[$y] = DateTime::createFromFormat('d-m-Y', $rowValue[$y]);
  5. echo $rowValue[$y]->format('d-M-Y H:i:s e');
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
16-Aug-2013 04:34:02 UTC