From: Robert Klemme Date: 2005-09-27T17:51:43+09:00 Subject: Re: Time interval Daniel Berger wrote: > Robert Klemme wrote: >> Daniel Berger wrote: >> >>> Hi all, >>> >>> I was just wondering if anyone has implemented an "Interval" class >>> of some sort out there, i.e. something that would give you the >>> years, months, days, hours, minutes and seconds between two fixed >>> DateTime objects, rather than an absolute date. >> >> >> Note that it's easy to output difference in seconds, minutes, hours, >> days and weeks but then it starts to get more difficult. > > You mean with the existing DateTime class? How? I thought this was > possible, but my Google skills appear to be failing me at the moment. > My own experiments weren't much better. No, I mean because of the underlying model (our calendar). Months have different lengths. Same for years and quarters. Kind regards robert