#247: date validation updated.