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,080 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

  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,080
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:1871
  

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