php help?

B

Bubba

Guest
$serverlocaldiff = "1"; //difference between the server's time and local time

$adjustedtime = ($serverlocaldiff * 60 * 60); //coding to adjust the time into hours

$skdate = date("l, jS F, Y - g:i A T",time() - $adjustedtime); //settings to show how it all looks

print ("$skdate"); //the point where it prints all the date which should equal to the time



i found that at hotscripts.com, but modified it to be minus instead of plus
 
Top