WP34s: date functions and negative years
01-17-2015, 09:47 PM (This post was last modified: 01-17-2015 10:04 PM by Dieter.)
Post: #6
 Dieter Senior Member Posts: 2,397 Joined: Dec 2013
RE: WP34s: date functions and negative years
(01-17-2015 09:25 PM)walter b Wrote:  Oh dear, that 34S project confronts me with problems I didn't even know before

That's what this forum is all about.

Quote:Seriously, JD 0 was defined to cover all recorded human astronomical observations IIRC. OTOH, how shall the poor WP 34S know that an input of -1.012345 (in D.MY or M.DY) shall mean New Year's day of the year 2345 B.C.?

Well, it does know this when it returns exactly this result after 864547 D–>J. Even though it returns the wrong day of week. Since days and months are always positive, the sign must belong to the year. That's how the 34s already handles negative dates under certain circumstances.

The 34s, as it is, already returns negative years, so why cannot the user enter the same? Why does the 34s not accept its own (negative) output as valid input for further calculations? And why is the 34s partially wrong? Try 1 Jan 1 BC (a Thursday) and subtract exactly 52 weeks = 364 days: 1.010000 ENTER –364 DAYS+ returns –2.010001 (correct) and "Sunday" (wrong, should be Thursday again).

BTW your example –1.012345 does not refer to 2345 B.C., but 2346 B.C. (the year before 1 AD is 1 BC = year 0).

Quote:There's a reason why ISO defined Y.MD as standard format for dates.

The problems I mentioned occur regardless which date format is set.
And BTW, ISO also defines a proleptic Gregorian (!) calendar. Would you prefer such a solution?

Quote:d:-)

I think the 34s is a serious project and so we should talk about problems seriously. Some of the problems and inconsistencies are listed in my first post. Yes, the device - as it is now - returns results that are simply wrong. Not more, not less. That's why it should be fixed. The one way or the other. Either negative years are rejected with an error message or they have to be handled correctly. Tertium non datur. Do you disagree?

Dieter
 « Next Oldest | Next Newest »

 Messages In This Thread WP34s: date functions and negative years - Dieter - 01-17-2015, 06:39 PM RE: WP34s: date functions and negative years - Bit - 01-17-2015, 07:05 PM RE: WP34s: date functions and negative years - Dieter - 01-17-2015, 07:19 PM RE: WP34s: date functions and negative years - Massimo Gnerucci - 01-17-2015, 07:31 PM RE: WP34s: date functions and negative years - walter b - 01-17-2015, 09:25 PM RE: WP34s: date functions and negative years - Dieter - 01-17-2015 09:47 PM RE: WP34s: date functions and negative years - walter b - 01-17-2015, 10:03 PM RE: WP34s: date functions and negative years - Dieter - 01-17-2015, 10:07 PM RE: WP34s: date functions and negative years - Paul Dale - 01-18-2015, 01:01 AM RE: WP34s: date functions and negative years - walter b - 01-18-2015, 08:22 AM RE: WP34s: date functions and negative years - Dieter - 01-18-2015, 02:33 PM RE: WP34s: date functions and negative years - walter b - 01-19-2015, 06:35 AM RE: WP34s: date functions and negative years - Dieter - 01-19-2015, 06:55 AM RE: WP34s: date functions and negative years - Paul Dale - 01-19-2015, 07:00 AM RE: WP34s: date functions and negative years - Marcus von Cube - 01-19-2015, 05:08 PM RE: WP34s: date functions and negative years - Dieter - 01-21-2015, 07:26 PM RE: WP34s: date functions and negative years - Marcus von Cube - 01-23-2015, 12:14 PM RE: WP34s: date functions and negative years - Dieter - 01-23-2015, 05:21 PM RE: WP34s: date functions and negative years - Dieter - 01-24-2015, 10:16 PM RE: WP34s: date functions and negative years - rprosperi - 01-24-2015, 10:43 PM RE: WP34s: date functions and negative years - Paul Dale - 01-24-2015, 10:51 PM RE: WP34s: date functions and negative years - Dieter - 01-25-2015, 02:44 PM

User(s) browsing this thread: 1 Guest(s)