|
Bob, I am not aware of any OS/400 fixed window of 1970 to 2069. There is a fixed window of Thu Jan 1 00:00:00 1970 to Tue Jan 19 03:14:07 2038 for C functions that use the industry C definitions of time (namely a long integer representing the number of seconds since Jan 1 1970). As ILE C defines a long integer as 4-bytes, that causes a wrap in time come Jan 19 2038. Is it possible this is what they are referring to? Or perhaps "IBM is inconsistent" is referring to platform other than AS/400? In any case, I would recommend the fixed window of 0 to 9999 (that is, use 4-digit years) wherever possible. Bruce Vining > >In working with date data type within Premenos, and thanks to some funky >dates from one of our trading partners, I have learned that Premenos >uses a date conversion window of 1970-2069. Since this is different >from the RPG supported 1940-2039, we had problems. After talking to >Premenos, some of their senior development people stated that IBM is >inconsistent and uses both date range windows. My question is, where is >the 1970-2069 window used?? I would like to avoid this design pothole >in the future BEFORE falling into it!! > >Thanks in advance, Bob Dobrowolski > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.