I used to work rotating shifts where you do afternoon shift, then night shift, then day shift, and so on.
What I've read is that night shifts themselves aren't too much of a problem, if you keep your sleep schedule consistent, your clock will work fine. However, rotating shifts did take a toll on me, even when I was able to get 8 hours a day sleep.
On nights my routine was to sleep as soon as I got home as I was tired, and it seemed like doing 6 or 7 hours instead of 8 was better for me. 8 would leave me groggy, perhaps not having as much light during the day makes more sleep an issue for some? Also, like recommended, black out the windows in your sleeping room (I used a thick blanket mounted to 2 screws on window frame), and use earplugs to block out noise of neighbors/cars/etc.