How long does marijunia stay in system for urine test?

It could stay in the system for up to 30 days.