The question presented is whether or not defendant is entitled to jail credit for time spent detained outside of New Jersey to answer foreign charges. Defendant was arrested and detained in New Jersey on New Jersey charges. He was thereafter transferred to the Metropolitan Correctional Center to answer federal charges which were lodged subsequent to his New Jersey charges. Because defendant’s transfer was performed pursuant to the Interstate Agreement on Detainers, defendant was always in New Jersey custody and is entitled to jail credit for time spent detained outside of New Jersey to answer foreign charges.