I work night shifts from 10:30pm-7:00am but with the commute or overtime I won't get home till 8-8:30am. Before when I really didn't care what/how I ate I would eat at work, when I got home from work and with a full belly go to bed at 9ish then wake up and eat yet again...
This caused me to gain about 20lbs in a year, not much but considering 10 of those were in 3 months wow.
My diet has been my main focus at this point but yes after work is definately one of the best times to work out, or right after you wake up. I stopped eating before I fall asleep and I'll have my last meal about 8pm and only drink water or tea at work and have a light snack, I'm down about 10lbs and people are starting to notice which keeps me very motivated
Night shifts are HARD, you need sleep to get your body to lose weight and honestly most of us who work like those don't get 8hrs of sleep daily, eating helps you stay awake and I hated when people would tell me that you'd gain weight working nights but it's true for sure because it tires you so much more than a regular 9-5 job.