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 55%Total: 611 All time: 5,068 This week: 238Up
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: 49
All time rank: 118630 in Poland Poland
Week rank: 234 Up6 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:611
This week:0
All time:5,068
This week:238Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1867
  

For more information send a message to info at phpclasses dot org.