I am trying to set a variable to equal today\'s date.
I looked this up and found a related article:
Set today date as default value in the model
Howe
Easy solution in Python3+:
import time todaysdate = time.strftime("%d/%m/%Y") #with '.' isntead of '/' todaysdate = time.strftime("%d.%m.%Y")