Time zone string

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

 



I'm looking for a class or function that, from a numeric input, will return
the description for a time zone. For example:

//-5 is timezone for New York

get_tzDescription(-5) //returns EST

The closest thing I've seen is putenv("TZ=US/Eastern"), then using
date('T'), but this assumes I have all the settings for TZ mapped to their
integers. 

I would love a class or function that I can query for this info. Any
suggestions?

-Derek



PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux