laravel time based on computer time code example
Example 1: time php
<?php
/* Unix Timestamp */
$timestamp = time();
echo $timestamp . "<br>";
echo date("d/m/Y", $timestamp);
?>
Example 2: php time
<?php
$t=time();
echo($t . "<br>");
echo(date("Y-m-d",$t));
?>