Re: Issue of the week

new topic     » goto parent     » topic index » view thread      » older message » newer message

Actually Euphoria's date() function returns a century preceded by a 1 (such
as 101 for 2001), much like the convention used on IBM AS/400 midrange
computers. This means you can safely perform operations like subtractions on
dates in two different centuries and not worry about any negative years
being returned.

-----Original Message-----
From: Matt Z Nunyabidness <matt1421 at JUNO.COM>
To: EUPHORIA at cwisserver1.mcs.muohio.edu
<EUPHORIA at cwisserver1.mcs.muohio.edu>
Date: Monday, September 28, 1998 1:05 PM
Subject: Issue of the week


>Can Euphoria help the whole Y2K thingy? Are languages like COBOL and
>FORTRAN our only hope? What'll happen to the earth when the clock strikes
>12 midnight on 1/1/00? I found something scary in Euphoria. The first
>argument date() returns is the year..........In double digits. So 1998
>now reads 98 to Euphoria, and 2000 later will read 00 to Euphoria.
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu