Small change to valid_date_format() (raising error replaced by returning false)