mgd_count_events_in_month

Name

mgd_count_events_in_month -- Count the events in a month

Synopsis

int mgd_count_events_in_month(int month, int year, int [type]);

Description

Minimum version: Midgard 1.4 (Bifrost)

Counts the events that have their starting or their ending date in the month defined by month and year.

Retuns the number of events if successfull. Returns false on failure.

Example

<?php
  $count = mgd_count_events_in_month(12,1968);
?>