Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 1998 00:08:54 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        ache@nagual.pp.ru, bde@zeta.org.au, helbig@Informatik.BA-Stuttgart.DE
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/6164
Message-ID:  <199803301408.AAA31223@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>What do you think about simutaneous increasing local and utc times
>until mktime() stops failing? What we need to get is new offset and

Isn't that what adjkerntz -as does?

>it will remains the same even after 6 hours beyond zone change.
>I.e. I suggest not mktime(local) - mktime(utc) but 
>mktime(local + 6h) - mktime(utc + 6h). 

Don't you have to do both to see if there is no change?  It would
be fairly easy to calculate the time to sleep before a change can
be made (6 months in some cases :-), but there isn't much point
since waking up every 30 minutes is efficient enough (at least if
it is only for a few hours).

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803301408.AAA31223>