PHP Current Time
To get the current time,
the date function is used.
Let's output it in the 'hours:minutes:seconds' format:
<?php
echo date('H:i:s');
?>
To get the current time,
the date function is used.
Let's output it in the 'hours:minutes:seconds' format:
<?php
echo date('H:i:s');
?>