<< interval2 << | Table Of Contents | >> interval4 >> |
Keyword | interval3 |
Purpose | There are three ways to specify a date interval. The first is the most obvious. A date interval consists of a start and end DATE. Watch out for end dates without a time specification! Date specifications are 0 extended. An end date without a time is expanded to midnight that day. So the day of the end date is not included in the interval! The start and end dates must be separated by a hyphen character. In the second form, the end date is omitted. A 24 hour interval is assumed. The third form specifies the start date and an interval duration. The duration must be prefixed by a plus character. |
|
Syntax | <date> [(- <date> | + <duration> (min | h | d | w | m | y))] |
|
Arguments | date | See date for details. |
duration | The duration of the interval. May not be 0. |
|
min | minutes |
|
h | hours |
|
d | days |
|
w | weeks |
|
m | months |
|
y | years |
|
Context | Global scope |
<< interval2 << | Table Of Contents | >> interval4 >> |