`$attributes['value'] = strtotime($attributes['maxYear'] . date('-m-d'));`  would be more readable.