Leap seconds pretty much have to be of interest to you or you will be off by
twenty seconds plus, probably too much to ignore. But they are not a big
deal (spoken as one who recently had to solve this problem). They are
available (assuming they have been input, and if not, then obviously all
bets are off) in a CVT extension. They are stored in hardware clock units
(of course we store a two-digit integral number of seconds as a 64-bit
fraction!) but converting hardware clock units to seconds is not a big deal.
(Shift right twelve and divide by a million as I recall.)

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Paul Gilmartin
Sent: Tuesday, March 27, 2012 6:30 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Assembler - convrssion of Epoch (Unix) time to printable

On Tue, 27 Mar 2012 07:47:39 -0500, McKown, John wrote:

> ..., the UNIX epoch is simply a number. The number of seconds since
00:00:00 GMT 1 Jan 1970. It would be rather easy to convert to
yyyy-mm-ddThh:mm:ss if it weren't for the "leap seconds". Which may or may
not be of any interest to you.
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to