× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you search on Google for that date, you'll find all sorts of info. In a 
nutshell, this calendar was basically dictated by Pope Gregory.

Matt

-----Original Message-----
From: Joe Lee [mailto:LeeJD@xxxxxx]
Sent: Tuesday, January 11, 2005 3:45 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: Date field's and their file space usage.


Introduced where, I seem to remember that it took well over a century
for it to be generally adopted. Figuring out what a given date from that
time period really means is interesting at best. :)

Joe Lee

>>> Matt.Haas@xxxxxxxxxxx 01/11/2005 12:37:23 >>>
October 14, 1582 is when the Gregorian calendar was introduced.

Matt

-----Original Message-----
From: Joe Lee [mailto:LeeJD@xxxxxx] 
Sent: Tuesday, January 11, 2005 3:27 PM
To: rpg400-l@xxxxxxxxxxxx 
Subject: RE: Date field's and their file space usage.


4713 BCE? why not 4712 or 4714? For that matter why October 14, 1582?
At
least the Unix date time values with a base of January 1, 1970 makes
some sense, but who came up with these other base dates, and why?

Joe Lee

>>> cozzi@xxxxxxxxx 01/11/2005 12:18:06 >>>
Yes, I know/knew about the scaliger number but didn't want to use big
words.
<vbg>

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx 
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] 
On Behalf Of Bruce Vining
Sent: Tuesday, January 11, 2005 1:01 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Date field's and their file space usage.





> Date fields are all stored internally as a 4-byte integer. The value
stored
> is the number of days since January 1, 0001 or October 14, 1582, I'm
not
> sure which it is.

A minor point but date fields are actually stored using Scaliger
numbers
which have a base of January 1 4713 BCE.

October 14 1582 is the base date for Lilian numbers which are used by
the
ILE CEE Date APIs.

-- 
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx 
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l 
or email: RPG400-L-request@xxxxxxxxxxxx 
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

-- 
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



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-2024 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.