public static bool IsSameMonthAs(this DateTime date, DateTime otherDate) { return date.Year == otherDate.Year && date.Month == otherDate.Month; }