Answers for "current time into a given time php"

PHP
4

php current time

echo date('Y-m-d H:i:s');

//Output something like this:
//2021-07-30 10:07:45
Posted by: Guest on July-30-2021
0

get current time in php

$time = time();
Posted by: Guest on August-25-2021

Browse Popular Code Answers by Language