Re: PHP time zone
| From: | Red Wingate | Date: | Tue, 13 Apr 2004 13:14:44 +0000 |
| Subject: | Re: PHP time zone | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183218@lists.php.net to get a copy of this message | ||
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