with this patch we can restrict the range into which we consider a date "valid", if a date is not in this range, an exception is raised.
I propose to define a date as valid if at least day and month are recognized. Without this, any input string is transformed in a valid date, and cases considered in parseDATE are never executed
this don't solve completely problems about having different formats, for example if you set date format as 'yyyy-dd-mm', then you got "key" dates parsed by TimeUtil.parseDate, but with wrong day and month.
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms