PHP Classes

GMT Converter: Convert time between zones defined in a database

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-08-01 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 673 This week: 1All time: 4,571 This week: 879Up
Version License PHP version Categories
gmtconverter 1.0BSD License4.0Time and Date, Databases
Description Author

This class can be used to Convert time between zones defined in a MySQL database.

It can lookup in a MySQL database table for time zone offsets relative to GMT given the zone identifier.

The class can convert date and times between zones based on offsets retrieved from the database.

Picture of Abdul Kader
Name: Abdul Kader <contact>
Classes: 1 package by
Country: India India
Age: 31
All time rank: 2691170 in India India
Week rank: 732 Up61 in India India Up

Set up instructions:

1. import the gmt.sql file to any database

2. modify the config entries for your db and your preferred date/time format in config.php

3. refer example.php for usage of this class

Cheers :)

Happy programming!!!
Abdul Kader, Bangalore, India

  Files folder image Files  
File Role Description
Accessible without login Plain text file Readme.txt Doc. Read Me
Accessible without login Plain text file config.php Conf. Configuration file
Accessible without login Plain text file example.php Example Example on usage
Accessible without login Plain text file gmt.sql Data MySql table dump for gmt zones
Plain text file gmt.class.php Class GMT Class

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:4,571
This week:879Up