You have a convert datetime.datetime object and you want to convert to datetime.date object
import datetime
mydatetime_object = datetime.datetime.now() # this can be any datetime object
print(mydatetime_object)
mydate_object = mydatetime_object.date()
print(mydate_object)
Comment here