PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 940 All time: 3,817 This week: 660Up
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

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:940
This week:0
All time:3,817
This week:660Up