Login   Register  
PHP Classes
elePHPant
Icontem

TimeTaMeR: Determine the local and Web user machine time zone

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-02-16 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 717 All time: 4,244 This week: 1,398Up
Version License PHP version Categories  
timetamer 0.2GNU Lesser General Publ...3.0Time and Date, Databases, Utilities a...
Description Author  

This class can be used to determine the server and the Web user machine time zone.

It uses the PHP time and date functions to determine the server time zone, server time and GMT time.

A Javascript can set a cookie with the time on the Web user machine. The class reads that cookie to determine the Web user machine timezone offset comparing the Web user machine time with GMT time, considering eventual day light savings time shifts.

The class can also look up a MySQL database to retrieve time zone information.

Picture of Dennis T Kaplan
Name: Dennis T Kaplan <contact>
Classes: 5 packages by
Country: United States United States
Age: 49
All time rank: 1329177 in United States United States
Week rank: 926 Up97 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageTimeTaMeR (3 files)

  Files folder image Files  /  TimeTaMeR  
File Role Description
  Plain text file TimeTaMeR.php Class The Class
  Accessible without login Plain text file timezone.php Example The Javascript
  Accessible without login Plain text file TimeTaMeR.sql Data Database

 Version Control Unique User Downloads Download Rankings  
 0%Total:717All time:4,244
 This week:0This week:1,398Up