I'm testing the limits of that right now. It's 9 pm and I'm drinking coffee... alas I kinda have to, as I have some work to do but am about to keel over!

What's the latest you can drink coffee and still fall asleep at a reasonable hour that night?