How to get collected document time MongoDB

@slava You can’t believe how much I appreciate your help!

Indeed, I already have Atlas compound index called “MsgAtlasIndex”.

I tried the solution and it took a lot of time in production :frowning: I clearly see no solution but searchMeta one… But the problem with searchMeta is returning numbers not documents, so I can’t get into the result details and extract the date time.

What do you think?