PHP Classes

Difference between two dates: Calculate the difference of time between two dates

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 615 This week: 1All time: 5,110 This week: 560Up
Version License PHP version Categories
difference-dates 1.0BSD License5.0Time and Date
Description 

Author

This class can calculate the difference of time between two dates.

It takes two dates in the ISO format and calculates the time that goes from one to the other.

The class outputs the time difference in years, months, weeks, days, hours, minutes and seconds.

Picture of Andrzej Krokos
Name: Andrzej Krokos <contact>
Classes: 9 packages by
Country: Poland Poland
Age: 53
All time rank: 118929 in Poland Poland
Week rank: 416 Up12 in Poland Poland Up

  Files folder image Files  
File Role Description
Plain text file diffclass.php Class difference class
Accessible without login Plain text file start.php Example start

 Version Control Unique User Downloads Download Rankings  
 0%
Total:615
This week:1
All time:5,110
This week:560Up
User Ratings User Comments (1)
 All time
Utility:70%StarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2561