Login   Register  
PHP Classes
elePHPant
Icontem

Calculate Date Difference: Compute the time difference between two dates

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-07-31 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 2,232 All time: 1,619 This week: 1,545Up
Version License PHP version Categories  
date_diff 1.0Free For Educational Use5PHP 5, Time and Date
Description Author  

This class can be used the time difference between two dates.

It takes two dates with time and computes the time that goes from one to another.

The class returns an associative array with the entries with the time difference in years, months, days. hours. minutes and seconds.

Picture of Frank
Name: Frank <contact>
Classes: 1 package by
Country: Philippines Philippines
Age: ???
All time rank: 123215 in Philippines Philippines
Week rank: 1712 Down15 in Philippines Philippines Equal

  Files folder image Files  
File Role Description
Plain text file class.Date_Diff Class Date difference calculator
Accessible without login Plain text file class.Date_Diff_with_Age Appl. Added new method get Age
Accessible without login Plain text file sample_script Example sample script

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,232All time:1,619
 This week:0This week:1,545Up