I've heard that late afternoon is the best time of the day if you are trying to beat your personal best. No need to worry that running late at night will make it harder to fall asleep, because it doesn't. Physical excercise in general promotes better sleep (maybe late afternoon is best for that purpose as Aspro says, but other times of the day aren't bad).