Write a Python script to convert a given string to datetime format.
Input Date: 10/07/2020
import datetime

def convert_to_date(input_date):
    date_obj = datetime.datetime.strptime(input_date,"%d/%m/%Y")
    return date_obj