FR WEEK_ADD YEAR_ADD MINUTE_ADD SECOND_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: 1252
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

FR WEEK_ADD YEAR_ADD MINUTE_ADD SECOND_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.
Last edited by PointsWell on Thu Jun 23, 2022 6:06 am, edited 2 times in total.
hpl123
Posts: 2438
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)
PointsWell
Posts: 1252
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: FR WEEK_ADD YEAR_ADD

Post by PointsWell »

Minutes are also missing (MINUTE_ADD)

https://awareim.com/forum/viewtopic.php ... 568#p57568

And while we are here, SECOND_ADD is also missing
BLOMASKY
Posts: 1335
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: FR WEEK_ADD YEAR_ADD MINUTE_ADD SECOND_ADD

Post by BLOMASKY »

+1 for MINUTE_ADD. I am doing some detailed scheduling and need it accurate to the minute. So fractions of HOUR_ADD don't cut it.

Bruce
eagles9999
Posts: 2268
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: FR WEEK_ADD YEAR_ADD MINUTE_ADD SECOND_ADD

Post by eagles9999 »

+1
Cheers,
Mark
_________________
AwareIM 6.0, 8.6, 8.7 (build 2941) MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Chrome, Edge
Upcloud
Image
Post Reply