I strongly feel you can get this answer from the Google search. Well it's 2140 though the exact date and time is not determined. When that happens we are left with another question of what will now happen to the Bitcoin network. A lot of questions in mind. But then how many of us will still be alive to witness it , because that is a very long time to come and so many of us if not all will no longer be in existence.
Simple questions like this about Bitcoin, especially ones that can be solved with basic math, are always available online. It's just that some people are either too lazy to look things up or are simply seeking attention. As for future-related questions, no one really knows what's coming, so answers to those are mostly opinion-based and focused on possible outcomes.
Lol, but what's crazy though is that all of us here will not be there when the last Bitcoin is mined at it's obvious that it will take more than 100 years from now. And to think of it, 19.87m has been mined already.
So maybe in the next couple of halvings we might reach 20m and that we can say that almost all Bitcoin has been mined already. So for me, we shouldn't wait for 2140 or whatever year it was. We will somewhat experience it and then see how it goes for the last 1m.