• Subject: Year 300 bug in ILE RPG or ...? (Again)
  • From: bvining@xxxxxxxxxxxx
  • Date: Thu, 28 May 98 11:22:40 CDT

I believe the date system you are refering to is the Scaliger system
which is based off of Nov 24 -4713 (Gregorian).  This measures time in
terms of Julian days (not to be confused with the Julian calendar which
is completely different :-)) and, as a piece of trivia, is how DB2/400
Date datatype dates are currently physically stored on auxiliary storage.
Using a 4-byte integer representation, this gives a date range of
11.7 million years (and some people are worried about 2000 and 9999...).

Lilian (named after the astronomer Aloysius Lilius (or Lilio) who
advised Pope Gregory XIII back in the 16th century) is based off of
Oct 15 1582 (Gregorian), and is the basis for the ILE CEE Date APIs found
in the System API Reference.

Bruce Vining

>
>(snip)
>Astronomers use another date system (I *think* it's called Lilian, but am
>not sure.)  This system picks an arbitrarily old date (like 1 Jan 4000BCE)
>and calls it 1.  The date increments by one every day.  1 Jan 2000CE is
>2,451,545.  27 May 1998CE is 2,450,961.
>(snip)
>
>Buck Calabro
>

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.