What is the longest that a opiates and heroin will stay in your system?

15 to 20 days before it clears your system