While urinalysis can reveal drugs used in the past one to three days, hair testing can uncover repeated drug use up to 90 days.