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    
Last Updated Ratings Unique User Downloads Download Rankings
2007-10-13 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,130 All time: 3,278 This week: 389Up
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
Name: Bermi Ferrer Martinez <contact>
Classes: 4 packages by
Country: Spain Spain
Age: 40
All time rank: 92519 in Spain Spain
Week rank: 700 Up26 in Spain Spain Down
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  
This week:0
All time:3,278
This week:389Up