[Info-vax] EU will abandon daylight savings time in 2021
Dave Froble
davef at tsoft-inc.com
Thu Mar 28 17:31:56 EDT 2019
On 3/28/2019 3:57 PM, John Reagan wrote:
> On Thursday, March 28, 2019 at 3:20:18 PM UTC-4, Dave Froble wrote:
>> On 3/28/2019 3:00 PM, Stephen Hoffman wrote:
>>> On 2019-03-28 18:39:34 +0000, John Reagan said:
>>>
>>>> ...and figure out that format.
>>>
>>> There's no need to rummage the constituent files.
>>>
>>> Use the tz-related tools; zic and friends.
>>>
>>> Quite possibly download the current set of the timezone files as part of
>>> each system build, and as part of any UPDATE kitting y'all might be
>>> planning.
>>>
>>> Reading:
>>> http://www.hoffmanlabs.com/vmsfaq/vmsfaq_005.html#timezic
>>> https://www.iana.org/time-zones
>>> https://en.wikipedia.org/wiki/Tz_database
>>>
>>>
>>>
>>
>> Why?
>>
>> Why is it incumbent upon the OS vendor to have to do all the TZ stuff?
>>
>> Don't know if it works on later versions, but, on WEENDOZE XP I have a
>> utility that sets the two dates and times when DST is enabled or
>> disabled. I'm happy with it, and, if there is a problem (dummy forget
>> to set up new TZ rules) it's my problem.
>>
>> Sure beats some OS vendor patch or such.
>>
>> KISS !
>>
>> And if some dummy cannot do something so simple, well, that's why he's
>> suppose to be paying me the big bucks.
>>
>> --
>> David Froble Tel: 724-529-0450
>> Dave Froble Enterprises, Inc. E-Mail: davef at tsoft-inc.com
>> DFE Ultralights, Inc.
>> 170 Grimplin Road
>> Vanderbilt, PA 15486
>
> It isn't quite that simple as just the current time. You still need to be able to difftime() and get the # of seconds between two dates. You have to know if those dates are using DST or not even after 2021 rolls around. Think about how to compute the difference between a 12:00 in New York City on March 1st to 12:00 in Sydney on Nov 1st. Those TZ files have a full history of all the different timezones.
>
UTC for every location, yeah, you'd need that. But then the calc should
be rather simple. Or am I totally missing something?
--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486
More information about the Info-vax
mailing list