<?php var_dump(date('Y-m-d H:i:s', strtotime('29-05-2015 13:56:22')));
Standard input is empty
string(19) "2015-05-29 13:56:22"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!