PHP Classes

GMT Converter: Convert time between zones defined in a database

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 691 All time: 4,728 This week: 488Up
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: 2853175 in India India
Week rank: 180 Up21 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 (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:691
This week:0
All time:4,728
This week:488Up