Re: timezone stuff on 64 bit machines
Is there a chance of getting a 64 bit fix for the timezone stuff?
The fix is to use the fact that--at least for now--the calendar operates on a grand 2800-year cycle: any set of 2800 consecutive years contains exactly 1,022,679 days. A bit of modular arithmetic will get us where we want to be. --ado
On Wed, 18 Oct 1995, Arthur David Olson wrote:
Is there a chance of getting a 64 bit fix for the timezone stuff?
The fix is to use the fact that--at least for now--the calendar operates on a grand 2800-year cycle: any set of 2800 consecutive years contains exactly 1,022,679 days. A bit of modular arithmetic will get us where we want to be.
That's over my head, unless something like (days = days % 2800) will do the trick... Erik ------------------------------------------------------------------------------- "Eggheads unite! You have nothing to lose but your yolks" - Adlai Stevenson Erik Troan = http://sunsite.unc.edu/ewt/ = ewt@sunsite.unc.edu
participants (2)
-
ado -
Erik Troan