PHP Classes

Date difference: Calculate the difference between dates

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
StarStarStar 48%Total: 1,231 All time: 3,107 This week: 455Up
Version License PHP version Categories
date_difference 1.0Freeware5.0PHP 5, Time and Date
Description 

Author

This is a simple class that can be used to calculate the difference of time between dates.

It takes two dates and stores the difference of time between the two dates in separate class variables for days, hours, minutes and seconds.

Picture of Ovunc Tukenmez
  Performance   Level  
Name: Ovunc Tukenmez <contact>
Classes: 14 packages by
Country: Turkey Turkey
Age: 38
All time rank: 72011 in Turkey Turkey
Week rank: 170 Up2 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 6x

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file sample_output.txt Output Sample Output
Accessible without login Plain text file sample.php Conf. Sample Usage
Plain text file date_difference_class.php Class Class 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:1,231
This week:0
All time:3,107
This week:455Up
 User Ratings  
 
 All time
Utility:81%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:3002