Have a time

To have a good time, to have fun.

We really had a time at the party last night.