fork download
  1. <?php
  2. echo DateTime::createFromFormat('Ymd', '20181107')->format('Y-m-d');
  3. ?>
Success #stdin #stdout 0s 82624KB
stdin
Standard input is empty
stdout
2018-11-07