-3

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

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Nutmeg
  • 155
  • 1
  • 1
  • 5

1 Answers1

0

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.

jpeltoniemi
  • 5,320
  • 7
  • 24
  • 34
  • 3
    DST is not that simple. For instance, Japan doesn't have it - and you have to know about it. If you blindly adjust for it everywhere, you'll get wrong results half the time. – Amadan Jul 02 '10 at 06:55