| STATIC FUNCTION DateAdd ( period AS String, interval AS Integer, Date AS Date ) AS Date |
Interval is a string expression that is the interval of time you want to add.
| Interval | Description |
|---|---|
| yyyy | Year |
| q | Quarter |
| m | Month |
| y | Day of year |
| d | Day |
| w | Weekday - Note: A Weekday is Monday to Friday in Gambas. This is different to VB in which w = d |
| ww | Week |
| h | Hour |
| n | Minute |
| s | Second |
Date is a Date or literal representing date to which the interval is added.