On this forum you can see a list of new features requested by users and you can also cast your own vote (you need to login to vote).
- Posts: 1172
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
While there are:
- DATE_ADD - which adds days to a date (though seems like it should be called DAY_ADD, and
- MONTH_ADD - which adds months to a date
There is no WEEK_ADD or YEAR_ADD
Both can be done with multiples of DATE_ADD * 7 or MONTH_ADD * 12 but this leads to code that is not particularly clear to read.
YEAR_ADD as functions.
- Posts: 2382
- Joined: Fri Feb 01, 2013 1:13 pm
- Location: Scandinavia
Henrik (V8 Developer Ed. - Windows)