So this is to inform the user of that restriction? We should say something like 'The expiry date cannot be more than x days from now'