from datetime import datetime


def convert_to_date(value):
    """
    Convert a string in the format mm/dd/yyyy to a date.

    Argument:
        value - the string value to convert
    """
    dte = datetime.strptime(value, "%m-%d-%Y")
    return dte