add one more layer of exception catching to the code that parses datetimes from querystrings