mgd_count_events_in_month

(Midgard 1.4.2 'Bifrost')

mgd_count_events_in_month -- Count the events in a month

Description

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

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 successful. Returns FALSE on failure.


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