I'm having quite a time.
1. Lit. I am having a very enjoyable time. John: Having fun? Jane: Oh, yes. I'm having quite a time. Bob: Do you like the seashore? Sally: Yes, I'm having quite a time.
2. Fig. I am having a very difficult time. Doctor: Well, what seems to be the problem? Mary: I'm having quite a time. It's my back. Doctor: Let's take a look at it. Father: How's school? Bill: Pretty tough. I'm having quite a time. Calculus is killing me.