The past tense of have a great time is had a great time.
The third-person singular simple present indicative form of have a great time is has a great time.
The present participle of have a great time is having a great time.
The past participle of have a great time is had a great time.