As a final (I hope) enhancement to the code at <http://rb.sgarman.net/validDate.php> I have implemented assumePastFuture if no date is supplied.
In this case, it has a granularity of 1 year instead of 100. I'll try to stop messing with it now. However, I'd obviously like to hear from anyone who finds any problems with the code or any Gregorian date formats where it does not work. Also, if anyone would like to post a function that works with non-Gregorian calendars, I'd be happy, if asked, to put a copy of it (or a link to it) on the same page. -- Steve Garman Using REALbasic Professional on Windows XP Pro _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
