import calendar
import time


def date_list(begin_date, end_date):
    """Generate a list of daily date strings between begin_date and
    end_date inclusive"""
    begin_utc_secs = calendar.timegm(time.strptime(begin_date, "%Y%m%d"))
    end_utc_secs = calendar.timegm(time.strptime(end_date, "%Y%m%d"))
    date = begin_utc_secs
    return_list = []
    while date <= end_utc_secs:
        return_list.append(time.strftime("%Y%m%d", time.gmtime(date)))
        date += 86400
    return return_list