have a time of it

📖 general
Meaning
To have a difficult or challenging experience. (Often used with an intensifier like "quite a time of it" or "a bit of a time of it").
Literal Meaning
To possess a segment of time.
Example
“The old car gave us quite a time of it on the long road trip, with several breakdowns.”