I'm both ways. In the morning, right after I get up, two cups, every day, helps me wake up. I've got some histamine issues, and the coffee helps a lot.
In the afternoon though, it can sometimes knock me right out. One cup and it's nap time. But, that can also screw up my sleep for that night. It'll mess with my night sleep even if I don't take a nap. I try never to drink coffee after my first two cups of the day, in the morning, but on rare occasions I will have a little in the afternoon or evening, only if I have nothing important planned for the next morning.
_________________
I'm not likely to be around much longer. As before when I first signed up here years ago, I'm finding that after a long hiatus, and after only a few days back on here, I'm spending way too much time here again already. So I'm requesting my account be locked, banned or whatever. It's just time. Until then, well, I dunno...