You just substract the date values:
Code:
VALUES CURRENT_DATE - DATE('2007-10-10')
1
----------
22.
1 record(s) selected.
DB2 returns a "duration", not a new date, of course.
What you are doing above is substracting two integers - not two dates. Which error message do you get?
Which version of DB2 are you using on which platform?