If food is kept in the temperature danger zone for longer than four hours, it must be discarded. The four-hour period starts when the food is packaged at the manufacturing plant and continues through product storage, preparation, and cooking.