Solution to the timezone problem
7th September 2002
Hixie has a brilliant solution to the time zone problem in the form of a clever piece of XBL by Nicolás Lichtmier. The small script can be bound to an element containing a date in UTC and will quietly replace it with the time in the user’s current timezone using Mozilla’s built in UTC handling functions. Naturally it only works in Mozilla, but I imagine the script could be emulated using Internet Explorer behaviors.
More recent articles
- Putting Gemini 2.5 Pro through its paces - 25th March 2025
- New audio models from OpenAI, but how much can we rely on them? - 20th March 2025
- Calling a wrap on my weeknotes - 20th March 2025