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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 691 This week: 1All time: 4,725 This week: 560Up
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: 39
All time rank: 2846174 in India India
Week rank: 416 Up25 in India India Up

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:691
This week:1
All time:4,725
This week:560Up