FR WEEK_ADD YEAR_ADD

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).
Post Reply
PointsWell
Posts: 1172
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

FR WEEK_ADD YEAR_ADD

Post by PointsWell »

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.

Please add
WEEK_ADD and
YEAR_ADD as functions.
hpl123
Posts: 2382
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: FR WEEK_ADD YEAR_ADD

Post by hpl123 »

1+
Henrik (V8 Developer Ed. - Windows)
Post Reply