“I have had a perfectly wonderful evening, but this wasn't it.”
— Groucho Marx
Simplified Meaning:
The person is saying they had a great time on another occasion, but not this evening.
The person is saying they had a great time on another occasion, but not this evening.