import calendar


def first_day(year, month, bday=True):
    """
        Return first day of month. Default to business days
    """
    weekday, days_in_month = calendar.monthrange(year, month)

    if not bday:
        return 1

    if weekday <= 4:
        return 1
    else:
        return 7-weekday+1