You probably already know this but local time is ambiguous around when the clocks "go back". That means there is typically a one hour time range each year within which the local time cannot be converted to UTC without additional information.
Best regards, Steve Hobson CICS Strategy, HLASM Development, Master Inventor Hursley Laboratories, MP 189, Room A4126, UK Tie: 246894 International: +44 1962 81 6894 Je me presse de rire de tout, de peur d'ĂȘtre obligĂ© d'en pleurer IBM Mainframe Assembler List <[email protected]> wrote on 28/06/2014 17:10:36: > From: "Hardee, Chuck" <[email protected]> > To: [email protected], > Date: 28/06/2014 17:10 > Subject: Re: Local Time conversion to/from UTC Time > Sent by: IBM Mainframe Assembler List <[email protected]> > > The functionality you reference I already have in my program, thanks > for the thought, though. > > The issue is not "what time is it", locally and UTC, the issue is > one set of files has historically data in local time and one set of > files has historical data in UTC. I need to convert one or the other > to the other time base in order to compare and match. > > I'm looking for information on how local time to UTC, and vice > versa, is affected by a locale's Daylight Savings Time state. > > Chuck Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
