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

Posted by David T. Ashley on 06/14/07 03:00

In a web database (PHP), per user, I'd like to allow each user to specify
their timezone (this would change how times are adjusted for display for
that user).

How do I enumerate all possible timezones from a PHP script or compiled 'C'
program?

Given a specific timezone, how do I get the time adjustment from UTC (which
can vary, based on daylight savings rules)?

I've reviewed the zoneinfo stuff ... can't find the rules anywhere ... am
lost.

Thanks.
--
David T. Ashley (dta@e3ft.com)
http://www.e3ft.com (Consulting Home Page)
http://www.dtashley.com (Personal Home Page)
http://gpl.e3ft.com (GPL Publications and Projects)

 

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

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