To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=33786
User er changed the following:
What |Old value |New value
================================================================================
Status|NEW |STARTED
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Mon Oct 24 04:13:07 -0700
2005 -------
Excel parses an input of 5/1981 as a date, so does the VALUE() function. Calc
doesn't, as the combination mm/yyyy does not match the locale's date pattern,
which in this case seems to be mm/dd/yyyy.
Workaround in this special scenario: use a date format code that explicitly sets
the day of month to 01. Depending on the locale, for en_US this would be
mm/"01"/yyyy if in cell content used as a parameter, like in =TEXT(A1;A2). To
use it as a direct argument to the TEXT() function it would be
=TEXT(A1;"mm/""01""/yyyy"), note the duplicated double quotes.
But then again, one could also simply use =DATE(YEAR(A1);MONTH(A1);1) instead of
=VALUE(TEXT(A1;"mm/""01""/yyyy")), which always works independently of the
locale and is also faster in execution.
Eike
---------------------------------------------------------------------
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]