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: 937 All time: 3,781 This week: 314Up
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: South Africa South Africa
Age: 39
All time rank: 7937 in South Africa South Africa
Week rank: 616 Up4 in South Africa South Africa 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  
This week:0
All time:3,781
This week:314Up

For more information send a message to info at phpclasses dot org.