You can use the function addDays, also with negative integer as second parameter:
addDays([%CurrentDateTime%], -7) to subtract 7 days from now.
Please read the documentation here: https://docs.mendix.com/refguide/add-date-function-calls
Use the addDays() function. First parameter is the Date and second parameter is the integer.