How long does it take to build credit from scratch?

How long does it take to build credit from scratch?