from datetime import datetime


def get_date(datestring):
    """ Convert a 'YYYYMMDD' format into a date object

    Args:
        datestring (string): the date to convert, in 'YYMMDD' format

    Rerturn:
        datetime.date: the resulting date object
    """
    return datetime.strptime(datestring, "%Y%m%d").date()