PHP Classes

DateClass: Calculates the difference beween two dates

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 915 All time: 3,883 This week: 660Up
Version License Categories
datediff 1.0FreewareTime and Date


This is a simple class that can be used to calculate difference between two given dates.

The class can return the period of time between the two dates in seconds, minutes, hours, days, months or years.

Picture of ashwin suresh morey
Name: ashwin suresh morey <contact>
Classes: 5 packages by
Country: India India
Age: 42
All time rank: 61336 in India India
Week rank: 360 Up26 in India India Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file date_difference_class Doc. document file explaining the class
Plain text file dateClass.php Class class file
Accessible without login Plain text file example.php Example usage of class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,883
This week:660Up
User Comments (1)
14 years ago (kishore kumar)