def getYearfromDate(pythondate):
    """
    Assuming the input is a python date... return just the year.

    If not a python date, empty return.
    """
    try:
        return(pythondate.year)
    except:
        return()