PHP Classes

Hour_Diff: Utility to get the the server time difference

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 yet rated by the usersTotal: 798 All time: 4,290 This week: 660Up
Version License Categories
hours_difference 1.0GNU General Publi...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: 66
All time rank: 43514 in Italy Italy
Week rank: 170 Up7 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x

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

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:798
This week:0
All time:4,290
This week:660Up