Timezone Class: Dealing with Timezones the Proper Way

Submitted by Adam » Using the Timezone class to automatically deduce the timezone's GMT offset and then modify the date accordingly. I must admit that I was going to write you a simple timezone script and then tell you how easy it was. However, I came across some handy timezone_* functions and things got a little more difficult but a lot more practical. This script will allow you to display the time in any timezone you wish, without any ifs, buts or maybes along the way.
Rating: 3.0/5 | 240 clicks | 0 comments | 0 saves | share | report

Share this tutorial

There are a number of different ways to share this tutorial with others. Below are the links to many different social networking and social bookmarking sites- just click on your favorite service and most of the work should be done for you. Other methods of sharing tutorials will come in the future.

digg it · save to del.icio.us · share on facebook · reddit · furl · blinklist · ma.gnolia · pixel groovy