I created the following user-defined function:
(Today as date) => Date.From (DateTime.LocalNow ())
The name of the query is "Today&qu