PHP Classes

Time_When: Convert relative times into English expressions

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 241 All time: 8,024 This week: 660Up
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: 41
All time rank: 223416 in Denmark Denmark
Week rank: 180 Up2 in Denmark Denmark Up
Innovation award
Innovation award
Nominee: 1x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:241
This week:0
All time:8,024
This week:660Up