PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2007-10-13 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,125 All time: 3,225 This week: 1,006Up
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
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,125
This week:0
All time:3,225
This week:1,006Up