how to display current time in php form using input code example
Example: time function in php
Return the current time as a Unix timestamp, then format it to a date:
<?php
/* Unix Timestamp */
$timestamp = time();
echo $timestamp . "<br>";
echo date("d/m/Y", $timestamp);
?>