'Worldclock(s) PHP/JS [duplicate]
Possible Duplicate:
Timezone conversion in php
Looking for a script to display a number of different time (zones) on a site - flash can do this but has become obsolete due to Apple and the JavaScript I have found all miss the daylight savings adjustment functionality.
Script/plugin needs to be un-styled for site branding purposes. Site = PHP
Solution 1:[1]
This may seem a dumb answer, but what's wrong with calculating them yourself? Shouldn't all timezones be off from the previous by exactly one hour? Daylight savings time is the same - add or remove one hour, unless I'm missing something vital here :)
Of course if you need to display the timezone by city, it would be quite a hassle.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | jpeltoniemi |
