PHP Classes

Calendar Matrix: Create an array with the days of a month calendar

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 940 This week: 1All time: 3,815 This week: 560Up
Version License Categories
class_calendar_php 1.0GNU General Publi...Time and Date
Description 

Author

This class creates an array with the layout of the days of a given month calendar.

The class generates a calendar array given the number of the month and the year.

The generated calendar array is two dimensional. The first dimension represents the week. The second dimension represents the days of the week, so it always have 7 positions, one for each day of the week.

The array positions of days of the first or last weeks of the month that are set to 0 represent days that belong to the previous or following month respectively.

Picture of Peter Molefe Ramokone
Name: Peter Molefe Ramokone <contact>
Classes: 5 packages by
Country: United States United States
Age: 42
All time rank: 804109 in United States United States
Week rank: 411 Up48 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file class.calendar.php Class Calendar Class
Accessible without login Plain text file example.php Example Example

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