Don't 500 if user puts gibberish in date field

http://manage.dimagi.com/default.asp?147674