Skip to content
Docs

Class and function reference

Calendar

List of public methods of the Zittme\Framework\Calendar class. This document was automatically generated from the Zittme core source.

Source: common/framework/Calendar.php

Public methods

  • static function getMonthName(int $month_number, bool $long_format = true)
  • This method returns the English name of a month, e.g. 9 = 'September'.
  • static function getMonthStartDayOfWeek(int $month_number, ?int $year = null)
  • This method returns the day on which a month begins.
  • static function getMonthDays(int $month_number, ?int $year = null)
  • This method returns the number of days in a month, e.g. February 2016 has 29 days.
  • static function getMonthCalendar(int $month_number, ?int $year = null, int $start_dow = 0)
  • This method returns a complete calendar for a month.