LegacyDate::getMonth - jcobban/Genealogy GitHub Wiki

$date->getMonth()

Up: class LegacyDate

This returns the month number in the year, with January being 1 and December being 12, if the month was specified when the date was created, otherwise 6. For date ranges this value is from the beginning of the range.

Next: $date->getActualMonth()