Im guessing your taking a UI right . If youre smoking cannabis it stays up to 4 months depending on 1) how fat you are 2) how much water or cranberry juice you drink 3) your metabolism and how fast ur body breaks down chemicals.
Drinking shouldnt be a problem for work (if youre of drinking age) unless its a job that demands heavy equipment etc.
There are many ways to pass a drug test.
The first and probably hardest one is to chug 2 liters of water every 8hours. it dilutes your pee. make sure to pee frequently
a
second would be taking supplements with garnicia or matcha extract and working out alot.
third would be borrowing urine from your friend, buy a heatpack on ur wallmart or whatever put the pee in a condom tuck it in your wasteband or in pelvis area apply heatpack 5 minutes before your test.