How many years does it take for Haleys comet to hit earth?

It has never hit the earth - otherwise it would have ceased to exist. It comes round in a cycle about every 75 years.

Mark Twain was born in the year of Halleys' Comet, and said he would probably go out with it too. He did.