David Cantrell wrote:
> 
> On Sun, Aug 12, 2001 at 12:54:25PM -0400, John Peacock wrote:
> 
> > There are good
> > and valid reasons to make "1 DAY" be the minimum value in a system.
> > TZ and DST issues don't factor in at all.
> 
> TZ does if you are dealing with April 22 in London and April 7 in NZ,
> for instance.  Is that 14, 15 or 16 days?
> 

Good point.  Obviously, my code assumes that the location that the
date is measured from doesn't vary.  Or, my US-centric worldview 
excluded the possibility that daylight savings time could begin on
different dates in different locations. :~)

I would suggest that all dates be normalized to UTC (noon was mentioned
in another posting as an appropriate time) prior to calculation, then 
restored to local time for output.

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

Reply via email to