how time php code example
Example 1: display time php
date(format,timestamp)
//example
date("Y.m.d") //default timestamp is current time.
Example 2: php time
<?php
$t=time();
echo($t . "<br>");
echo(date("Y-m-d",$t));
?>
date(format,timestamp)
//example
date("Y.m.d") //default timestamp is current time.
<?php
$t=time();
echo($t . "<br>");
echo(date("Y-m-d",$t));
?>