Feature Proposal: Add ADDWORKINGDAYS to SpreadSheetPlugin

Motivation

We have a WORKINGDAYS that calculates the number of working days between two dates.

And that is cool. But often you have a date and want to calculate a date in the future based on number of working days.

I have the algo from the new TimeCalcPlugin. What I plan to add is the western simple version that assumed Saturday/Sunday weekends.

The TimeCalcPlugin is a pure registered tag plugin and though powerful, it has its limitations. The SSP has all the spreadsheet features so we also need the function there.

Description and Documentation

It is the algo from _ADDWORKINGDAYS I will add with syntax

$ADDWORKINGDAYS(date, days)

I will consider holidays also for both WORKINGDAYS and ADDWORKINGDAYS but may not be in first round.

The change will be fully backwards compatible with current SSP and the number of new code lines is 15 or so.

Examples

Impact

%WHATDOESITAFFECT%
edit

Implementation

-- Contributors: KennethLavrsen - 24 Nov 2010

Discussion

Since the 1.1.3 planned release has already gone, I have removed the planned release to allow Kenneth to re-plan.

-- CrawfordCurrie - 24 Feb 2012

This feature proposal is in limbo state for long enough with its once committed developer having lost interest in it. As such this one is free to be picked up by anybody.

-- Main.MichaelDaum - 20 Feb 2017 - 14:15
Topic revision: r3 - 20 Feb 2017, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy