How long in the microwave will spoil milk?

Microwaving milk does not spoil it, it heats it up. Microwaving milk for too long can cause it to boil over/explode, so it's best to heat milk in short intervals.