human
How can I check if a date is the same day as datetime.today()?
assistant
Here is some code to check if date `yourdatetime` is equal to today's date

yourdatetime.date() == datetime.today().date()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.