2:30 AM

Display time using PHP

posted under by FR3@K | Edit This
You can use this PHP snippet to display the time.

 

<?

$time_offset ="0"; // you many need to change this to offset time zone

$adj = ($time_offset * 120);

$time = date(" h:i:s",time() + $adj);

echo "$time";

?>

0 comments

Make A Comment
top