What is the meaning and function of the word koto in this sentence?

> その出会いはある日の職場の飲み会でのこと

I’ve asked everywhere but I still haven’t received an explanation that not
only made sense to me but also helped me understand when and how to use こと
this way.
CC BY-SA 4.0
2022-09-04T12:41:59.297
96105
2022-09-04T18:16:09.147
2022-09-04T18:16:09.147
30454
54408
question
meaning
その出会いはある日の職場の飲み会でのこと
Ending an extended phrase with a noun like this means the phrase modifies the
noun. So, in means "thing" in English, therefore:

"It happened at a workplace drinking thing."

This is informal in English but is completely acceptable in Japanese.
CC BY-SA 4.0
2022-09-04T13:21:46.410
96107
2022-09-04T13:21:46.410
34142
96105
answer