Answers for "separate time from datetime in php"

PHP
1

php extract time from datetime

$time = '2013-01-22 10:45:45';

echo $time = date("H:i:s",strtotime($time));
Posted by: Guest on July-01-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 time from datetime in php"

Browse Popular Code Answers by Language