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: 1471
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.

EDIT:
MINUTE_ADD AND
SECOND_ADD are also missing
Last edited by PointsWell on Mon Oct 03, 2022 9:46 pm, edited 3 times in total.
hpl123
Posts: 2628
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: 1471
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: 1486
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
customaware
Posts: 2426
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: FR WEEK_ADD YEAR_ADD MINUTE_ADD SECOND_ADD

Post by customaware »

+1
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Post Reply