PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2006-03-13 (10 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 922 All time: 3,730 This week: 1,113Up
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: 4 packages by
Country: South Africa South Africa

  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:922
This week:0
All time:3,730
This week:1,113Up