def date_extend(month, year):
    """
    A function to help me not write the same thing many times.
    If the month is December the month switches to January next year
    @type month: integer
    @param month: a month of the year
    @type day: integer
    @param day: a day of the given month
    @rtype: tuple
    @return: returns the new month and year
    """
    if month == 12:
        month = 1
        year += 1
    else:
        month += 1
    return (month, year)