Ejemplo n.º 1
0
def get_last_day_of_month(year, month, day):
    month_list = Calendar().monthdatescalendar(year, month)
    month_list.reverse()
    for week in month_list:
        if week[day].month==month:
            return week[day]
    return None