About a month, is the usual answer, except for hair which is formed like fingernails from whatever constituents in the nourishing blood supply and so will permanently retain any evidence of drug use, this is how it was determined & alleged the ancient Egyptians used social/recreational drugs...