Monday, November 3, 2008

Calculate local time using PHP

1. Each time zone is identified by a unique zone id and local time will be calculated using this unique zone id.

2. A complete PHP class for calculating local time.

3. Necessary all methods are provided

4. Consider day light saving for the zone if it is applicable.

5. All zone information is stored in array. So no database is required

6. Easy to integrate with other script

7. All time zone names, their stand name and time offset are listed

8. Easy to calculate local time and stand name. If standard name is not available for particular time zone, it will return GMT time offset.

9. Example is provided with code. Have fun!


To download the source code click
here....

No comments: