Today's date

from datetime import date today = date.today() d1 = today.strftime("%d/%m/%Y") print("d1 =", d1)

MatPlotLib stuff

from datetime import date today = date.today() d1 = today.strftime("%d/%m/%Y") print("d1 =", d1)