def date_formatting(date):
    """
    Convert datetime.date object into yyyymmdd format string
    """
    year = str(date.year)
    month = str(date.month).rjust(2, '0')
    day = str(date.day).rjust(2, '0')
    return year + month + day