If a Person Will Be Admitted Into a Drug Rehab, How Long Will He Have to Stay There?

My sister will be going into an inpatient drug rehab to get treatment for her drug addiction. I’ll really miss her. How long does the treatment take anyway?