If I wished to be fully unambiguous, I'd say anything like "have to be delivered before ...". Alternatively, occasionally the ambiguity is irrelevant, irrespective of which convention ruled it, if a bottle of milk mentioned "Best file used by August 10th", you couldn't get me to consume it on https://sgwoodab.com/