To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81593


User dr changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |INVALID
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Dec 17 14:08:59 +0000 
2007 -------
wrong usage of dates.

The term 1-9-2007 is considered a subtraction of constants and results in the
value -2015. Same for 30-9-2007, this results in -1986. These values represent
the dates 1894-Jun-24 resp. 1894-Jul-23 (number of days before the "null date"
1899-Dec-30). The NETWORKDAYS correctly returns 21 for these dates.

To solve this issue: use the dates as strings, e.g.
=NETWORKDAYS("1-9-2007";"30-9-2007")
or even better, to be independent from a specific date format (they may change
between different locales), use the DATE function:
=NETWORKDAYS(DATE(2007;9;1);DATE(2007;9;30))


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to