I sympathize with you, as I feel the professor is being a strict jackass.
But, that being said, no matter how late I stayed up the night before, or if I got even any sleep at all, I am at work the next day on time. Welcome to real life. That's how it is, and you need to adjust, take no offense, as I understand it would be easy to, but you have to find another way, be it trying another medication, finding another doctor, taking it at a different time, etc. (No need for excuses, we already know this professor does not want to hear them).
Good luck though, I hope you can ammend this situation with a doctor's note.
But, that being said, no matter how late I stayed up the night before, or if I got even any sleep at all, I am at work the next day on time. Welcome to real life. That's how it is, and you need to adjust, take no offense, as I understand it would be easy to, but you have to find another way, be it trying another medication, finding another doctor, taking it at a different time, etc. (No need for excuses, we already know this professor does not want to hear them).
Good luck though, I hope you can ammend this situation with a doctor's note.