On 2014-06-27, at 17:32, Ed Jaffe wrote:

> On 6/27/2014 4:20 PM, Hardee, Chuck wrote:
>> Does anyone have any algorithms or code for converting Local Time to UTC 
>> Time and vice versa taking Daylight Savings Time into account that they 
>> would be willing to share?
>> 
>> My preference would be Assembler but COBOL, PL/I, Fortran, Pascal, etc would 
>> be acceptable.
>> 
>> Note, implementations using CONVTOD and TODCONV won't work for my needs.
> 
> Assuming z/OS, you simply add or subtract CVTLDTO and CVTLSO to convert TOD 
> values between local and UTC.
>  
His post on IBM-MAIN suggested he would be dealing with log
files which may span a Daylight Saving Time boundary, or several,
and not all recorded in the time zone in which he was processing.

An answer in IBM-MAIN cited:

    http://www.iana.org/time-zones

This is somewhat rubbing salt in the wound in that z/OS does not
support that protocol.

-- gil

Reply via email to