Hi,
I am able to perform the subtraction from date by [defining an Interval](https://community.denodo.com/docs/html/browse/8.0/en/vdp/vql/language_for_defining_and_processing_data_vql/data_types/data_types_for_dates_timestamps_and_intervals#data-types-for-intervals) for the desired difference like so :
`INTERVAL ‘4’ MONTH`
And using the regular arithmetic operator with the date, like :
`current_date - (INTERVAL ‘4’ MONTH)`
This will output a date with a time, by default Denodo will name this ‘subtract’ (like the function call).
I can format this value using the [FORMATDATE Function](https://community.denodo.com/docs/html/browse/8.0/en/vdp/vql/appendix/syntax_of_condition_functions/date_processing_functions#formatdate), and supplying the desired [Pattern String](https://community.denodo.com/docs/html/browse/8.0/en/vdp/vql/appendix/date_and_time_pattern_strings/date_and_time_pattern_strings#date-and-time-pattern-strings), in this case ‘yyyyMMdd’.
Combining these two commands, I can write :
`SELECT FORMATDATE('yyyyMMdd', subtract) from (SELECT(current_date - (INTERVAL '4' MONTH)))`
Hope this helps!