How long do they last for?

You can store pumpkin and squash for months before eating them if they are dry, cool, frost-free and undamaged.

However once carved, to keep your pumpkin looking good for longer, bring it inside if it is raining and rub petroleum jelly or vaseline on the cut edges.