Login   Register  
PHP Classes
elePHPant
Icontem

Hour_Diff: Utility to get the the server time difference

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 (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-01-07 (11 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 789 All time: 3,947 This week: 1,583Up
Version License Categories  
hours_difference 1.0GNU General Public Lice...Time and Date
Description Author  

Utility class to get the the server time difference.

If your local time is *behind* the server time, then change the "+" to a "-" in the example variable $h.

To adjust the format of the date, see the list of variables at the official PHP site (php.net): http://www.php.net/manual/function.date.php

Picture of Güayoyo
Name: Güayoyo is available for providing paid consulting. Contact Güayoyo .
Classes: 5 packages by
Country: Italy Italy
Age: 56
All time rank: 40915 in Italy Italy
Week rank: 1067 Down41 in Italy Italy Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file diffhours.php Class Class and example file

 Version Control Unique User Downloads Download Rankings  
 0%Total:789All time:3,947
 This week:0This week:1,583Up