PHP Classes

date: Perform operations with dates

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 860 All time: 4,060 This week: 238Up
Version License Categories
date 1.0GNU General Publi...Time and Date


This class can be used to perform several types of operations with dates.

It can:

- Determine whether an year is bissextile
- Compute the number of days since a given date and the beginning or end of the year
- Calculate the time between two dates in years, months or days
- Return the name of the month or day of the week of a given date
- Check whether a date is valid given the day, month and year

Picture of Alessandro Rosa
Name: Alessandro Rosa <contact>
Classes: 10 packages by
Country: Italy Italy
Age: 48
All time rank: 2909 in Italy Italy
Week rank: 411 Down13 in Italy Italy Down
Innovation award
Innovation award
Nominee: 3x

  • shot01.gif
  Files folder image Files  
File Role Description
Accessible without login Plain text file dataclass.php Class DATE class code
Accessible without login Plain text file index.php Example example script file about the features of the class date

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,060
This week:238Up