PHP Classes

A DateTime Helper: Get the difference between times in English

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-06-02 (4 months ago) RSS 2.0 feedNot enough user ratingsTotal: 469 All time: 6,016 This week: 106Up
Version License PHP version Categories
date-time-helper 1.1.0The PHP License5.0PHP 5, Time and Date


This class can get the difference between times in English.

It can compare two timestamps and return the difference spelled with English words or an an object.

Time details either as an array or an object.

The class can also return a new time adding time intervals in days, week, month, etc..

Picture of Morshed Alam
  Performance   Level  
Name: Morshed Alam <contact>
Classes: 2 packages by
Country: Bangladesh Bangladesh
Age: 43
All time rank: 174924 in Bangladesh Bangladesh
Week rank: 568 Up10 in Bangladesh Bangladesh Up

  • screenshot.png
  Files folder image Files  
File Role Description
Plain text file date_time_helper.php Class Class source
Accessible without login Plain text file date_time_helper.test.php Example Example script
Accessible without login Plain text file index.php Example Test feature
Accessible without login Plain text file README.textile Doc. Documentation
Accessible without login Plain text file unit_test.php Test Unit test script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,016
This week:106Up
User Comments (1)
Nice package
10 years ago (Morshed ALam)