Description | The |
Syntax |
|
Output | date |
Variables
date
: The starting date to which you want to add or subtract an interval.number
: The numeric value representing the amount you want to add or subtract.DAY/MONTH/YEAR: Specify the time unit (day, month, or year) for the interval.
Example 1
`Start Date` + INTERVAL 7 DAY
Project | Start Date | INTERVAL |
Project A | 2023-09-10 | September 17, 2023 |
Project B | 2023-08-25 | September 1, 2023 |
Project C | 2023-09-01 | September 8, 2023 |
Example 2
`Start Date` + INTERVAL 2 WEEK
Project | Start Date | INTERVAL |
Project A | 2023-09-10 | September 10, 2023 |
Project B | 2023-08-25 | August 25, 2023 |
Project C | 2023-09-01 | September 1, 2023 |
Example 3
`Start Date` + INTERVAL -1 MONTH
Project | Start Date | INTERVAL |
Project A | 2023-09-10 | August 10, 2023 |
Project B | 2023-08-25 | July 25, 2023 |
Project C | 2023-09-01 | August 1, 2023 |