Around four hours approx. Don't ever try milk, believe me it will spoil keep it refrigerated after boiling and cooling it at room temperature. :)
I can tell you this much ..... Milk needs to be at least 41 degrees and approx 2-4hrs in a higher temp if you drink it you might get sick.