Login   Register  
PHP Classes
elePHPant
Icontem

PHP Time Ago: Compute the difference between two time values

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-05-28 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 339 All time: 6,360 This week: 1,503Up
Version License PHP version Categories  
php-time-ago 1.0GNU General Public Lice...4.0Time and Date
Description Author  

This class can compute the difference between two time values.

It compares two timestamp values and returns an English string that expresses the difference between the time values in years, months, weeks, days, hours, minutes or seconds.

If the second timestamp value is omitted, the class returns the time difference relatively to the current time.

Picture of Radovan Janjic
Name: Radovan Janjic is available for providing paid consulting. Contact Radovan Janjic .
Classes: 14 packages by
Country: Serbia Serbia
Age: 26
All time rank: 3984 in Serbia Serbia
Week rank: 49 Up1 in Serbia Serbia Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example script
Plain text file time_ago.class.php Class Class file

 Version Control Unique User Downloads Download Rankings  
 0%Total:339All time:6,360
 This week:0This week:1,503Up