This will also work with minor modifications for standard dates in a yymmdd format, but when selecting your pivot year (50 was the pivot year in Crox's example), be sure to select one that goes with the type of dates you are using. The 50 works great for recent dates, but you should be very careful in your criteria if the dates are birthdates. Perhaps, if they are birthdates, you know something extra about the people in the data file, eg. elementary school students would likely be 5-12, licensed drivers are probably 16-99, etc. It's an inexact science at best, but carefully selecting the pivot point depending on your population can get you results that are usually accurate. Betty Scherber
Brainbench MVP for COBOL II
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.