Hi Vojtech,
I think what you are seeking for is the SUB_DAYS command (ADD_DAYS would add days to a given date).
Please check
here, if this might answer the question. Its taken from Version 11 Documentation but still valid for Version 12)
(only if its interesting for someone: same you can do for time, ADD_TIME, SUB_TIME)