Here is one sentence: They had a good time together.
Here is another sentence: We had a wonderful time at the party.
Does the term time mean the same thing in both these sentences?
the same meaning