Tags:
create new tag
view all tags

SID-00280: Spreadhsheet plugin Working days error

Status: Answered Answered TWiki version: 4.1.2 Perl version: 5.8.8
Category: CategoryPlugins Server OS: RedHat Linux 5 Last update: 16 years ago

$WORKINGDAYS is returning invalid results. For example when I use %CALC{$WORKINGDAYS($TIME(2009/03/07),$TIME(2009/03/12))}%

it returns 2 though the actual workingdays are 4.

Am I missing something. Please help.

--Bharath

-- BharathReddyMeka - 2009-04-23

Discussion and Answer

Testing:

  • $WORKINGDAYS($TIME(2009/03/05),$TIME(2009/03/12)) : 5
  • $WORKINGDAYS($TIME(2009/03/06),$TIME(2009/03/12)) : 4
  • $WORKINGDAYS($TIME(2009/03/07),$TIME(2009/03/12)) : 3
  • $WORKINGDAYS($TIME(2009/03/08),$TIME(2009/03/12)) : 3
  • $WORKINGDAYS($TIME(2009/03/09),$TIME(2009/03/12)) : 3
  • $WORKINGDAYS($TIME(2009/03/10),$TIME(2009/03/12)) : 2
  • $WORKINGDAYS($TIME(2009/03/11),$TIME(2009/03/12)) : 1
  • $WORKINGDAYS($TIME(2009/03/12),$TIME(2009/03/12)) : 0

Indeed, this looks like a bug. Please file a report at TWikibug:SpreadSheetPlugin.

-- PeterThoeny - 2009-04-23

This is tracked in TWikibug:Item6253

-- PeterThoeny - 2009-04-26

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Spreadhsheet plugin Working days error
SupportCategory CategoryPlugins
TWiki version 4.1.2
Server OS RedHat Linux 5
Web server Apache 2.2.3
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-04-26 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.