Separates Datum von DateTime PHP
$time = new DateTime("2011-08-04 15:00:01");
$date = $time->format('n.j.Y');
$time = $time->format('H:i');
Akki batra
$time = new DateTime("2011-08-04 15:00:01");
$date = $time->format('n.j.Y');
$time = $time->format('H:i');
date('Y-m-d', strtotime( '2015-04-16 15:00:01' ) );