YOU SAID:
the cat asked the horse when it was time to attend the party.
INTO JAPANESE
猫は馬に、パーティーに参加する時間はいつですかと尋ねました。
BACK INTO ENGLISH
The cat asked the horse when it was time to join the party.
INTO JAPANESE
猫は馬にいつパーティーに参加するか尋ねました。
BACK INTO ENGLISH
The cat asked the horse when he would join the party.
INTO JAPANESE
猫は馬にいつパーティーに参加するか尋ねました。
BACK INTO ENGLISH
The cat asked the horse when he would join the party.
That didn't even make that much sense in English.