PHP Classes

Calendar Calculations: Perform special calendar date calculations

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,137 This week: 1All time: 3,319 This week: 560Up
Version License PHP version Categories
calendarcalculations 1.0GNU Lesser Genera...3.0Time and Date
Description 

Author

This class can be used to perform special calendar date calculations. It can:

- Get the day of the week of a given day of a month of an year
- Get the months of an year on which a given day happens on a certain week day
- Get the day of a given month and year that happens on a given day of the week
- Determine if a given year is a leap year

Innovation Award
PHP Programming Innovation award nominee
October 2007
Number 4


Prize: One book of choice by Packt
Adding or subtracting days to a date, or calculating the difference of days between dates are relatively simple operations and there are plenty of components capable of execution such operations.

However, if you want to know for instance to determine on which month will happen the next Friday 13th, that is not such an easy calculation.

This class is capable to perform several kinds of unusual date calculations that may be interesting for specific purposes.

Manuel Lemos
Picture of Bermi Ferrer Martinez
Name: Bermi Ferrer Martinez <contact>
Classes: 4 packages by
Country: Spain Spain
Age: 45
All time rank: 93920 in Spain Spain
Week rank: 416 Up14 in Spain Spain Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file CalendarCalculations.php Class Main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,137
This week:1
All time:3,319
This week:560Up