Login   Register  
PHP Classes
elePHPant
Icontem

Calendar Calculations: Perform special calendar date calculations

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,114 This week: 1All time: 3,099 This week: 1,393Up
Version License PHP version Categories  
calendarcalculations 1.0GNU Lesser General Publ...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: 36
All time rank: 86419 in Spain Spain
Week rank: 574 Up19 in Spain Spain Equal
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,114All time:3,099
 This week:1This week:1,393Up