Answers for "get the date from time function 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
1

date now php

date("Y-m-d H:i:s");
Posted by: Guest on October-21-2020

Code answers related to "get the date from time function in php"

Browse Popular Code Answers by Language