date time module in python to get current date and time code example
Example: python current date
from datetime import date
today = date.today()
print("Today's date:", today)
from datetime import date
today = date.today()
print("Today's date:", today)