python get today’s date without time

now = datetime.date.today()

Here is what the above code is Doing:
1. Importing the datetime module.
2. Creating a variable named today that stores the current date.
3. Creating a variable named now that stores the current time.