def is_same_month(dt1, dt2):
    """
    判断两个datetime对象是否是同一月
    :param dt1:
    :param dt2:
    :return:
    """
    if (dt1.year == dt2.year) and (dt1.month == dt2.month):
        return True
    else:
        return False