Try:

    time.strptime(graduation_start, "%Y-%m-%d")