Birth control

How long does it take the birth control pill to get out of your system. I've heard it could take a year? Is that true?