how to use Datetime to show current date code example
Example 1: python current date
from datetime import date
today = date.today()
print("Today's date:", today)
Example 2: print current date
from datetime import date
today = date.today()
print("Today's date:", today)