What I mean is, if everything remains about the same as it is now, and people keep mining even though their reward is small for finding the next block, what year will the last bitcoin be mined?

It would be sometime in 2140, however we never know exactly when.
https://en.bitcoin.it/wiki/Controlled_supplyWe can not know exact halving days of past Bitcoin block reward halvings and it's harder to predict exact day of last bitcoin to be mined by Bitcoin miners. It's too far future and there are many things for changes.
https://www.coingecko.com/en/coins/bitcoin/bitcoin-halvingWhat is Bitcoin Halving?
Bitcoin has a total supply of 21 million. The underlying code ensures that only 21 million bitcoins will ever exist. Bitcoin’s finite supply is a strong economic statement and supports its value system.
Bitcoin is distributed through mining. The 21 million bitcoins in existence are scheduled to be mined through the year 2140. That is, the last bitcoin is expected to be mined in the year 2140.