first
it is not good to call a variablle for '$time', when it actually a date value
lets call it $now_date
The first parameter = format
is described well here in DATE manual [man]date[/man]
time() is a function to get now time in seconds
this we can add as a second parameter to the date function
you can adjust hours by adding or subtracting 3600 sec from time()
with +3600, my code below will produce:
Sun 07th Oct,2007 02:58 pm 7200
with +0, it will produce:
Sun 07th Oct,2007 01:58 pm 7200
<?php
$now_date = date( "D dS M,Y h:i a Z", time()+3600 );
echo $now_date;
?>