PHP Classes
elePHPant
Icontem

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 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 677 All time: 4,579 This week: 988Up
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

Details
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  
 0%
Total:677
This week:0
All time:4,579
This week:988Up