Caffeine has a half-life of seven hours so half of it would still have been in your system at 10pm, and those drinks are absolutely loaded with it...but it depends on your caffeine tolerance anyway. I drink caffeine-free tea throughout the day and once or twice a week I treat myself to a Starbucks coffee in the morning, which has a palpable 'perking' effect until about lunchtime. A can of red bull or the like is enough to make me twitch and jitter all day! Whereas my bf, who drinks caffienated tea and coffee all day, can drink coffee before bedtime and still get a decent nite's sleep.