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: 858 All time: 4,041 This week: 496Up
Version License Categories
date 1.0GNU General Publi...Time and Date
Description Author

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 zandor
Name: zandor <contact>
Classes: 10 packages by
Country: Italy Italy
Age: 46
All time rank: 29010 in Italy Italy
Week rank: 796 Down42 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,041
This week:496Up

For more information send a message to info at phpclasses dot org.