See my answer on your next forum question; https://forum.mendix.com/link/questions/109757
all the same, except use the year functions
Look at the documentation here: https://docs.mendix.com/refguide/xpath-keywords-and-system-variables
You have the [%BeginOfCurrentYear%] or the UTC variant. And you can use things like '[%%BeginOfCurrentYear%] - 3 * [%YearLength%]' to retrieve other years. You could also create a variable and use the addyears function to change dates.