|
Posted by John Gordon on 06/14/07 16:08
In <5a2dncC2kf9GM-3bnZ2dnUVZ_gCdnZ2d@giganews.com> "David T. Ashley" <dta@e3ft.com> writes:
> How do I enumerate all possible timezones from a PHP script or compiled 'C'
> program?
Most websites I've seen just give the user 24 possible choices, for the
24 commonly-used time zones.
> Given a specific timezone, how do I get the time adjustment from UTC (which
> can vary, based on daylight savings rules)?
Most systems should have a localtime() function which calculates that for
you automatically.
--
John Gordon A is for Amy, who fell down the stairs
gordon@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
[Back to original message]
|