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



That is a good, and yes very academical, question. And I'd like to
extend the question for the different date representations (muslim,
japanese, chinese, mayan, etc.).

My guess: the dates as used on I series systems these days cannot
accomodate these because there is a lack of at least 2 qualifiers:

- Date system (gregorian, julian, muslim, japanese, mayan, etc)
- Before or after conception of the date system

Java has made a serious attempt to handle this side of the equation but
at a price: a whole lot of API's and manipulation methods which don't
make it much easier to do date calculations.

Cor

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Peter.Colpaert@xxxxxxxxx
Sent: vrijdag 14 december 2007 8:18
To: RPG programming on the AS400 / iSeries
Subject: RE: To Date or Not to Date... that is the question

Just a thought: could date fields be used for dates before Christ
(theoretically speaking of course, I'm fully aware that calendars have
changed many times in the past)

Peter Colpaert
Application Developer
PLI - IT - Kontich, Belgium
-----
Yoda of Borg are we. Futile is resistance, assimilated will you be.
-----



"Takken, Cor" <cor.takken@xxxxxxxxxxxxx> Sent by:
rpg400-l-bounces@xxxxxxxxxxxx
14/12/2007 08:08
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
"RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
cc

Subject
RE: To Date or Not to Date... that is the question






<snip>

A date field is a date field containing (surprise, surprise) dates, at
least at the using end of the equation it is a very real date with days,
months and year values which are guaranteed valid (or either one of the
constants *LOVAL or *HIVAL). Values will never be less than zero (due to
the fact that day or month -1 don't exist)

</snip>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.