from datetime import datetime


def convert_date(raw_date):
    """
    Convert raw date field into a value interpretable by the dataserver.
    """
    # Some date fields are empty
    try:
        date = datetime.strptime(raw_date, "%d/%m/%Y")
        return date.strftime("%m/%d/%YZ")
    except:
        return None