Dave Rolsky wrote:

Also, I'd like to point out that this really doesn't have as much to do
with the internals as it does with the nature of date & time math.

You cannot expect to understand date math without understanding that it's
not possible to convert between various units of date/time, in particular
from months to days or vice versa. This would be a problem regardless of
the internals, right?


I do understand the ambiguities when you are dealing with various forms of durations that are not anchored to an actual point in time. As I said in my last message, however, we're talking about two absolute points in time -- no ambiguity.

Rephrased, the question is again: what is the midpoint of a span? (and if we come up with a good approach to this problem, it should solve the general class of problems having to do with portioning out spans).

It's not immediately apparent to me what the solution is -- I know what I want to do, and would prefer it to be fairly easy and straightforward. This seems to be an area of the interface that could use some brushing up rather than some intrinsic ambiguity of date math.

(I'm willing to meditate on possible solutions myself -- I'm not merely asking you to solve it for me. However, I just thought I might be missing something obvious)

Thanks again,
Matt

Reply via email to