12-10-2009, 02:50 AM
|
#2 (permalink)
|
|
The Wanderer
Join Date: Dec 2008
Posts: 16
Thanks: 2
|
This is how my friend done it.
make a function and make sure your server timezone is GMT
PHP Code:
function getTime($timzone){
return time() + 60 * $timezone;
}
getTime(2); // Get's the current time of GMT+2
|
|
|
|