What are the most important factors to consider when deciding the time to teach a course? I'm starting as an Assistant Professor at an R1 university, and will be teaching my first undergraduate course (~2.5h/week) in the Spring of 2021. I've been asked if I have a preferred teaching time. What are some factors to consider when deciding the class time? Is there a specific time that should be avoided at all costs?
Some students don't like to get up early in the morning, so attendance can suffer then. 

Just after lunch (or supper) can be hard as people can get drowsy. 

None of that is necessarily a problem if the course is interesting and you have a way to keep them active.