New Zealand Law
Have New Zealand Law Questions? Ask a Lawyer Online.
The problem is that the evidence has now been destroyed. If you had kept this you would have rights under the Consumer Guarantees Act to get a replacement and some modest compensation. They do have obligations to sell products which are of good quality. The fact this past the use by date would possibly mean that you took a risk in consuming this product however, and may be the response even if you had the evidence
I would suggest you share this with the manufacturer and with the shop you bought this from, and ask for a replacement and some compensation. Normally this is relatively small in New Zealand.
Did you buy this from a local shop?