Quite a while, actually.  As long as they are stored in an airtight container, they will stay fresh for about a week at room temperature, about 3 weeks in the refrigerator or about a month in freezer.