Description | The |
Syntax |
|
Output | datetime |
datetime
: The initial datetime value to which you want to apply the interval.number
: The numeric value representing the amount you want to add or subtract.SECOND/MINUTE/HOUR: Specify the time unit (second, minute, or hour) for the interval.
Example 1
`Start Time` + INTERVAL 30 MINUTE
Meeting | Start Time | INTERVAL |
Team Meeting | 2023-09-05T05:00:00000 | 2023-09-05T05:30:00000 |
Project Kickoff | 2023-09-10T10:30:00000 | 2023-09-10T11:00:00000 |
Training | 2023-09-15T06:00:00000 | 2023-09-15T06:30:00000 |
Example 2
`Start Time` + INTERVAL 15 SECOND
Meeting | Start Time | INTERVAL |
Team Meeting | 2023-09-05T05:00:00000 | 2023-09-05T05:00:15000 |
Project Kickoff | 2023-09-10T10:30:00000 | 2023-09-10T10:30:15000 |
Training | 2023-09-15T06:00:00000 | 2023-09-15T06:00:15000 |
Example 3
`Start Time` + INTERVAL 12 HOUR
Meeting | Start Time | INTERVAL |
Team Meeting | 2023-09-05T05:00:00000 | 2023-09-05T17:00:00000 |
Project Kickoff | 2023-09-10T10:30:00000 | 2023-09-10T22:30:00000 |
Training | 2023-09-15T06:00:00000 | 2023-09-15T18:00:00000 |