I am a law school graduate. WHat I offer is mere information, not to be construed as forming an attorney client relationship.
Okay, I don't think I have to tell you smoking or doing any DRUG IS STUPID AND DUMB AND MAKES YOU VERY LAME. YOU DON'T LOOK COOL DOING IT, IT RUINS YOUR LIFE and MAKES YOU VERY ANTI SOCIAL. NO, IT DOESN'T MAKE YOU MORE CREATIVE. I AM in the ENTERTAINMENT INDUSTRY AS A CONTRACTS SPECIALIST and those artists I see who do this stuff wind up making the most stupid lame and dumb records that flop.
So, enough of the lecture. Anything you take stays in your system. What many, 95% of most courts I know, do is order hair analysis exams. They test for the presence of drugs in your system (and the test knows the diff between you being around a pot head and actually doing it yourself) up to 90 days prior. SO, it tests for everything: crack, cocaine, heroine, meth, pot, etc.
SO, if you get pulled over and they test your urine for smoke (after a cop determines with road tests that you seem to be high), it tests up to six weeks of use. SO, the lessen is, DONT SMOKE!