PHP Classes

date: Perform operations with dates

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 861 All time: 4,066 This week: 660Up
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 Alessandro Rosa
Name: Alessandro Rosa <contact>
Classes: 10 packages by
Country: Italy Italy
Age: 50
All time rank: 2909 in Italy Italy
Week rank: 147 Up2 in Italy Italy Up
Innovation award
Innovation award
Nominee: 3x

Screenshots (1)  
  • shot01.gif
  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:861
This week:0
All time:4,066
This week:660Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2386