Answers for "separate date from datetime php"

PHP
0

separate date from datetime php

$time = new DateTime("2011-08-04 15:00:01");
$date = $time->format('n.j.Y');
$time = $time->format('H:i');
Posted by: Guest on June-10-2020
0

separate date from datetime php

date('Y-m-d', strtotime( '2015-04-16 15:00:01' ) );
Posted by: Guest on June-10-2020

Code answers related to "separate date from datetime php"

Browse Popular Code Answers by Language