Try/catch for parsing invalid dates