Handle Number Format errors in date parser