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: 914 All time: 3,877 This week: 188Up
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: 387 Up31 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,877
This week:188Up
User Comments (1)
13 years ago (kishore kumar)