Best:

use gmmktime() and add the required offset by:

$time_here = gmmktime() + ( $offset * 60 * 60 ) ;

> how can get a specific time zone, not the server time.
>
> example:
> if the server time is 13:15:46  I need to output that time +5hours
> so 18:15:46
>
> because the hosting server time  is not my local or other area time..
>
> thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to