|
Folks: An interesting idea from AS/400 magazine November 1998 (pp. 72-73). The author Brendan O'Connell of Millennium Solutions suggests Encapsulation. Here is the explanation. "Encapsulation involves subtracting a fixed number of years from all databases data fields, and where these fields are output to either screens or reports, the date offset value is reapplied. The normal offset value is 28 years this preserves day-of-the-week mapping required for financial and planning applications. The general effect of this method is to remove the sequence and calculation errors associated with the century change; that is 98,99,00,01 become 70,71,72,73." Ok, now I am not doing this. If you do this, you are on your own. I still prefer 4 digit year as CCYYMMDD as 19981231 :-). > Art Tostaine, Jr. wrote: > > > I know things like reports will show wrong dates, etc. But they don't seem >to bother the customer. I think they are crazy. What do you think? > -- Thank You. Regards Dave Mahadevan.. mailto:mahadevan@fuse.net +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@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.