Second this. Morning is the best for clear thinking. Late night work is less productive.
I guess each person has a different time of best performance, the problem is when you get a job in a office without flexible hours.
Since I've forced myself to go to sleep no later than 11, I've realized that hey, I actually am a morning person.
Edit: grammar