You can create a 'User Defined' function. In the function you can pass the input and the current date to a custom function. In the custom function, if the input is null, pass the current date.
There's a built in function.
Add a function to the map. Category: Date; Function: Get Current Date
Retrieving data ...