DB2 graphic  QMF Version 8

Adding and subtracting dates and times

Addition and subtraction are the only arithmetic operators that you can apply to date/time values. You can increment or decrement a date, time, or timestamp by a duration. You can subtract a date from a date, or a time from a time. You cannot subtract a timestamp from a timestamp.


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004