from datetime import date
currentdate = input('Please enter todays date in the format dd/mm/yyyy: ')
day, month, year = currentdate.split('/')
today = date(int(year), int(month), int(day))
Troubleshooting "descriptor 'date' requires a 'datetime.datetime' object but received a 'int'"