Find the word definition

Wiktionary
have a whale of a time

vb. (context idiomatic English) To enjoy oneself greatly.