PHP Classes

Time_When: Convert relative times into English expressions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-11-11 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 238 All time: 7,249 This week: 1,917Up
Version License PHP version Categories  
time_when 0.1BSD License5.1PHP 5, Time and Date
Description Author  

This class can be used to convert relative time values into English expressions.

It can associate relative time ranges with text that describes the difference between two time values in English.

The class returns a text that expresses the relative difference between two time values, like for instance "3 months ago".

Picture of Martin
Name: Martin <contact>
Classes: 3 packages by
Country: Denmark Denmark
Age: 32
All time rank: 208615 in Denmark Denmark
Week rank: 1529 Up9 in Denmark Denmark Up
Innovation award
Innovation award
Nominee: 1x

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:238All time:7,249
 This week:0This week:1,917Up