the thing you talk about is a fan-created bootleg. i have the 'When Doves Cry' 12 inch and the b-side is the short version of '17 Days' (see: http://www.discogs.com/Prince-And-The-Revolution-When-Doves-Cry/release/506272). there is no official 13 minute version of '17 Days'.
fuck you.