Skip to main content
8 events
when toggle format what by license comment
May 31, 2012 at 17:52 comment added Clockwork-Muse @PieterB - Actually, how many days there are between Monday 17:00 and Tuesday 17:00 is indefinite too, if either of the following are true - The dates are on opposite sides of a DST boundary, or are in different time zones. Days are not always 24 hours (and astronomically, they never are). The implicit assumption in a 'date' is that it's a specifically formatted/divided count of sunrises from some zero-point, at the observer's location. This question is more about counting 'sunrises' than the exact duration in a more accurate measure.
May 31, 2012 at 9:13 comment added mouviciel @PieterB - So, we have different opinions. This issue should be clarified in the specification document.
May 31, 2012 at 9:06 comment added Pieter B @mouviciel the problem ins't whether you represent a day as an integer or float. The problem is that you should represent a date as a range and not as a point.
May 31, 2012 at 7:34 comment added mouviciel @PieterB - if you represent days as floats instead of ints, there is no problem with 24h days. The problem is how you round, but this is not specific to days.
May 31, 2012 at 7:23 comment added Pieter B It greatly depends what a date means. That's the problem with dates. From a mathematical point a date has to be a point in time. But one day is 24 hours, that's where the problems come. If you say how much days are there between monday and tuesday, the answer can differ. If you ask how much days are there between monday 17:00 and tuesday 17:00 the answer is clear.
May 31, 2012 at 2:41 vote accept Andy
May 31, 2012 at 2:40 comment added Andy I appreciate the input. That is very true, and you make a great point.
May 31, 2012 at 2:36 history answered user7146 CC BY-SA 3.0