If you keep the shortbread in an airtight container, it will last for three to four weeks. Also, make sure that you put the container in a cool place and away from sunlight.