Re: Timezone management
| From: | Daniel Brown | Date: | Wed, 12 Mar 2008 14:57:44 +0000 |
| Subject: | Re: Timezone management | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271376@lists.php.net to get a copy of this message | ||
On Wed, Mar 12, 2008 at 10:50 AM, Jim Lucas <lists@cmsws.com> wrote:
>
> Lamonte H wrote:
> > After a while of studying different softwares, I've still been getting
> > confused on how to make a timezone management script to display time in
> > different time zones. Like right now im in -0600 CST GMT, how would I
> > create a script that would work on any server that would allow me to display
> > my current time from -12 to 12 GMT in a select box so others could pick
> > their own time also.
> >
>
> Don't forget, there are a few time zones that are off by 30 minutes
You are correct, sir!
This is why you may want to check into using date("O"); to check the offset.
--
</Dan>
Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>