The maximum amount of time that the perishable food can be safely held in danger zones is two hours. More than two hours could cause the food to be contaminated or spoiled, which is not safe for an individual to cook or consume for it could cause food poisoning.