<?php $date = \DateTime::createFromFormat('d m Y', '19 05 2016');echo($date->getTimestamp() . "\n");echo($date->format('Y-m-d H:i:s'));
Standard input is empty
1463682625 2016-05-19 18:30:25
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!