View Single Post
  #2 (permalink)  
Old 11-20-03, 07:14 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
basicly :
PHP Code:

$local_hour=date("h");

$time_zone=3;
//of course you can retraive the time zone from any database ..
//but this is only an example..
$current_hour=$time_zone+$local_hour;
echo 
$current_hour date(":i:s A"); 
NOTE
I havn't tried this and the idea just came into my mind while I was reading so it may not work ..
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]

Last edited by NeverMind; 11-20-03 at 07:17 AM.
Reply With Quote