Re: Timezone management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 12, 2008 at 10:50 AM, Jim Lucas <lists@xxxxxxxxx> 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); } ?>

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux