You are here: Re: How to Enumerate and Calculate Timezones? « PHP Programming Language « IT news, forums, messages
Re: How to Enumerate and Calculate Timezones?

Posted by Logan Shaw on 06/14/07 05:47

David T. Ashley wrote:
> I'm locked into using PHP 4 for reasons that are too long to mention here.
> The functions cited are available starting in PHP 5. Thanks, though.
>
> In the /usr/share/zoneinfo directory (I'm assuming that is what you meant),
> there are a bunch of files and directories, but they seem to have binary
> contents, and I don't know the format.

Why would you want to know the format? There are functions for rendering
the time in various different timezones. (Specifically, you can set the
timezone with tzset() and you get the local time with localtime().)

If that is not sufficient for your application, can you be more specific
about what you're trying to achieve?

- Logan

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация