Possible Duplicate:
Using Javascript, how do I make sure a date range is valid?
I am allowing users to input dates on the page, and one of my testers is correctly breaking the database save with the following error:
SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
Is there an existing function out there to validate this on the client side in jQuery or JavaScript before the date is sent to the server so I can give feedback to the user? I'd prefer not to have to write my own (possibly incomplete one).
Thanks