gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] (COBOL and) Leap Second at end of 2008


From: Bill Klein
Subject: [open-cobol-list] (COBOL and) Leap Second at end of 2008
Date: Thu, 1 Jan 2009 02:20:03 -0600

As many (most? all?) of you know, a leap second was added (in UTC) at the
end of 2008. See (for example)
  http://hpiers.obspm.fr/eoppc/bul/bulc/bulletinc.dat

In the 2002 COBOL standard, a LEAP-SECOND directive was added (as an
implementer-defined item).

I am CURIOUS,  does anyone know of any COBOL compiler that

A) has implemented the LEAP-SECOND directive
        and/or
B) allows (as an extension to the Amended '85 Standard) a value of "60" in
the seconds portion of the CURRENT-DATE intrinsic function or in the ACCEPT
FROM TIME feature?

I think that there ARE implementations that run in/on operating systems that
have "leap seconds" in their internal (systems) timeframe but do NOT allow
for "60" as a second in the COBOL features.  Does anyone know what they
actually do in such cases, or do they just "hope" that no one uses ACCEPT
FROM TIME or FUNCTION CURRENT-DATE at the exact right second?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]