Personally I find working in the morning way better than working in the night. I used to work till about midnight and then get up at 7 AM to go to work. However in case I got stuck on some issue that I could not resolve, it would ruin my sleep. I would keep thinking about the fix. But now that I have started working in the mornings, I don't have that problem anymore. I can take some time out during the day and figure out the problem.