    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>ACCU  :: The Clock is Still Ticking</title>
        <link>https://members.accu.org/index.php/articles/1016</link>
        <description>Professionalism in Programming</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Administrator</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.xaraya.org" /> 
        <admin:errorReportsTo rdf:resource="mailto:webeditor@accu.org" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>




<div class="xar-mod-head"><span class="xar-mod-title">CVu Journal Vol 12, #3 - May 2000</span></div>

<table border="0" cellpadding="1" cellspacing="0">
    <tbody>
    <tr>
        <td valign="top">
            Browse in :
       </td>
       <td valign="top">

                                            <a href="https://members.accu.org/index.php/articles/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c76/">Journals</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c77/">CVu</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c126/">123</a>
<br />
</td>
   </tr>
   </tbody>
</table>




<div class="xar-error">
   <p>
 <strong>Note:</strong> when you create a new publication type,
the articles module will automatically use the templates
<em>user-display-[publicationtype].xt</em>
and <em>user-summary-[publicationtype].xt</em>.
If those templates do not exist when you try to preview or display a new article,
you'll get this warning :-)  Please place your own templates in themes/<em>yourtheme</em>/modules/articles . The templates will get the extension .xt there. </p>
</div>
<div class="xar-norm xar-standard-box-padding">
   <h1><strong>Title:</strong>&nbsp;The Clock is Still Ticking</h1>
<p><strong>Author:</strong>&nbsp;</p>
<p>
<strong>Date:</strong> 03 May 2000 13:15:37 +01:00 or Wed, 03 May 2000 13:15:37 +01:00</p>
<p><strong>Summary:</strong>&nbsp;</p>
<p><strong>Body:</strong>&nbsp;<div class="sect1" lang="en">
<div class="titlepage">
<h2><a name="d0e18" id="d0e18"></a></h2>
</div>
<p>On Tuesday 19th January 2038, at 3:14am and 8 seconds, the
number of seconds since the start of 1970 will reach 2 raised to
the 31st power. C and C++ programs that use signed 32-bit integers
to represent time will behave as though it were suddenly 8:45pm and
52 seconds on Friday 13th December 1901, with potentially
disastrous consequences. Before that, people who have coped with
Y2K by putting the clock back may face &quot;forgotten ghosts&quot; of Y2K at
various arbitrary times in the next few decades, as their backward
clocks approach a belated 2000. Keep alert; it is not over yet.</p>
<p>The Y2K &quot;ghosts&quot; are probably a worse threat, since the 2038
problem is perhaps easier to deal with. Neither C nor C++ limit the
length of <tt class="type">int</tt> or <tt class="type">long</tt>,
so even programs that use 'int' or 'long' instead of <tt class=
"type">time_t</tt> can still be made to be compliant by recompiling
them on a 64-bit architecture with a compliant compiler and
library. One would hope that by the 2030s it would be unthinkable
to settle for a mere 32 bits even for pocket systems, or for 64
bits about 290 billion years from now and so on. Predictions are of
course dangerous and it is always possible that there will still be
a thriving application for architectures of 32 or fewer bits in
2038, or perhaps there will be many old computers that have been
lost track of (the embedded systems problem). There is also the
question of code involving nasty casting (or hand-coded assembler)
that assumes that <tt class="type">long</tt>s can be no longer than
32 bits; this code is not compliant with the standards anyway and
the best thing today's programmers can do to avoid the problem is
not to write such code.</p>
<p>The main immediate concern, however, is the expiry of the
so-called &quot;sliding window fixes&quot;, which put the clock back to
postpone the year 2000. This is particularly true if some of the
programmers who made such fixes did not document them adequately.
It may be advisable for any Y2K response programmes to be re-named
<span class="emphasis"><em>Date Dependency</em></span> response
programmes and to continue operating. Some of the more likely time
shifts include all the &quot;round&quot; numbers (5 years, 10 years etc) and
28 years, because the days of the week repeat themselves every 28
years.</p>
<p>I wrote the first draft of this article on January 1, and
suggested that there might be minor problems on February 29 and
perhaps more serious problems on April 1 (the start of Japan's
financial year). This did not seem to happen (even in the April
Fool hoaxes) - the glitch in the London stock exchange was, as far
as I know, unrelated. Another date that has been flagged by some is
10th October, which is the first date to require all eight digits
when written in numerical form with four-digit years. However,
&quot;postponed 2000&quot; is a potentially greater threat if it is not
monitored.</p>
<p>When the rollover itself passed without nearly as much trouble
as was anticipated by some, a number of media presenters concluded
that &quot;the bug [may have] never been there in the first place&quot;. This
is incorrect; as listeners of BBC World Service's &quot;Bugwatch 2000&quot;
series will know, the non-event was due to considerable effort. To
take our guard down now would be to allow potential after-effects
to bite unexpectedly. They are not (at present) any serious threat
to life as we know it, but they might be a little embarrassing for
those who slip into complacency.</p>
<i><span class="remark">I have heard of quite a few problems
(including reports of some in Japan). However once the media had
built up Y2K problems to Doomsday level the actual problems were an
anti-climax and hardly seemed worth reporting on front pages or in
TV news programmes. You can also be sure that commercial
institutions - particularly financial ones - kept very quiet about
the problems they had. Ed.</span></i></div>
</p>
<p><strong>Notes:</strong>&nbsp;</p>
<p><em>More fields may be available via dynamicdata ..</em></p>
</div>
</channel>
</rss>
