PDA

View Full Version : $gdate


webhost
08-11-2002, 02:06 PM
$gdate = date("F.d.Y G:i A");

this works but when the time is posted it shows say like 7 am when it should show 10 am how do I add 3 hours to it?

webhost
08-11-2002, 10:25 PM
Guy from over at vbulletin gave me this solution that works great.

$gdate = date("F.d.Y G:i A", time() + (60 * 60 * 3) );