protected function _filter_date($value) { $timestamp = strtotime($value); if ($timestamp !== false) { return $timestamp; } else { return null; } }