the use-by date is somewhat arbitrary but milk at the end of its use-by tastes off, there's a reason they mark stuff down before throwing it out what's the alternative, having the use-by date being the date there's a 10% chance it's hazardous? of course it doesn't go bad instantly, it's a date specifically chosen so that it is all thrown away before it goes bad.
Australia