What year did the hubble spacecraft orbit neptune?

Never. The Hubble telescope has never left orbit around Earth.