def METHOD_NAME(number_of_months=12):
    """Returns a list of datetime objects for each month
    The date is set to the first date in the month.
    The first date is the previous months first day
    :rtype: list[datetime.datetime]
    """
    now = datetime.now()
    month = datetime(now.year, now.month, 1)
    months = [month]
    for _ in range(number_of_months):
        month = (month - timedelta(days=1)).replace(day=1)
        months.append(month)
    return months