PHP Time Function
To get the time, you can use the
date function.
Let's output the current moment in time in the
'hours:minutes:seconds' format:
<?php
echo date('H:i:s');
?>
To get the time, you can use the
date function.
Let's output the current moment in time in the
'hours:minutes:seconds' format:
<?php
echo date('H:i:s');
?>