<?php echo DateTime::createFromFormat('Ymd', '20181107')->format('Y-m-d');?>
Standard input is empty
2018-11-07
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!