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



I suspect you are reading in the full date, converting it to mm/dd/yy and 
trying to show it on the screen?  In any event, any time you access a date data 
type and the date involved is outside of 1940-2038 then you have to stay in a 
full yyyy year format or it will tell you you are out of range.  Otherwise it 
would not know how to restore the date back from yy to yyyy.


In <77D2348AC1AED11199FE00805FBB6DBE2DDE31@WV_EXCH>, on 10/08/98 
   at 11:52 AM, "Goodbar, Loyd (AFS-Water Valley)" <LGoodbar@afs.bwauto.com> 
said:

>I'm reengineering an application in RPG/IV, and I am using date data
>types extensively. A big problem I'm having is processing birth dates.
>Many people I'm processing have birth dates before 1940, so I get the
>error "The year portion of a Date or Timestamp value is not in the range
>1940 to 2039." Is there anything I can do to use these dates with the
>date data type or must I still use a numeric format? Running V3R7.

>Thanks,
>Loyd Goodbar

>+---
>| 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
>+---


-- 
-----------------------------------------------------------
boothm@ibm.net
Booth Martin
-----------------------------------------------------------

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