In ArcToolbox I have a script (arcpy) that calculates some info plus a date into a database table. The date required to write is often (but not always) the current date, so the tool asks for input of the date to write.
I'd like to have the Tool automatically populate the current date into this input field so that the user only needs to modify the date on the occasions where the date is not today.
How can I set the Default Value to be the current date? I only seem to be able to enter dates into the Default field in the tool properties (as it's a Date field), so don't seem to be able to use anything like date.today()
or similar.