PHP Classes
elePHPant
Icontem

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

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-03-13 (9 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 901 All time: 3,681 This week: 1,266Up
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
Age: 33
All time rank: 7537 in South Africa South Africa
Week rank: 1764 Down10 in South Africa South Africa Down

  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:901All time:3,681
 This week:0This week:1,266Up