PHP Classes

Very precise date difference: Calculate the days between dates within any years

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 184 All time: 8,665 This week: 59Up
Version License PHP version Categories
m10 1.0Custom (specified...5Algorithms, PHP 5, Time and Date


This class can calculate the days between dates within any years.

It can take as parameter two dates and computes the number of days that go from one date to the other.

The class can take dates go outside the limits of UNIX timestamps before 1970 and after 9999.

Picture of zinsou A.A.E.Mo´se
  Performance   Level  
Name: zinsou A.A.E.Mo´se is available for providing paid consulting. Contact zinsou A.A.E.Mo´se .
Classes: 50 packages by
Country: Benin Benin
Age: 34
All time rank: 6781 in Benin Benin
Week rank: 44 Up1 in Benin Benin Equal
Innovation award
Innovation award
Nominee: 23x

Winner: 2x


datetime difference
calculate datetime difference


'<br>'. getddiff($x,$y);


Vpdatedifference class package is a simple but very precise class package to compute the precise number of days between two dates without the used of Unix timestamp limit and then beyond 31/12/9999 and before 01/01/1970. See the testVpdatediff.php file for example of how to use.This script is too short to provide more documentation. Contact at

  Files folder image Files  
File Role Description
Accessible without login Plain text file license.txt Lic. license
Accessible without login Plain text file readme.txt Doc. readme
Accessible without login Plain text file testVpdatediff.php Example example script
Plain text file Vpdatedifference.class.php Class class source

 Version Control Reuses Unique User Downloads Download Rankings  
This week:0
All time:8,665
This week:59Up