I find other people's progress motivating. I want to improve my fitness/health, and seeing others doing it and showing improvements keeps me going.
As for the time, I just go to the gym whenever I can. Sometimes that's just before uni, sometimes after. Sometimes in the middle of the day. I've been in the gym at 8pm because it's the only time I could go that day.