Hi Banccrop,
Have a look into the DATE and TIMESTAMP formats, and look into how you can perform arithmetic on them. This should lead you to the answer you are after.
This link describes in detail the arithmetic fucntions for dates and times in DB2 SQL.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.