Fixed Date to throw an Exception if the date is invalid instead of just outputting (0,0)