Nowadays most people use electronic money instead of banknotes, so the process of eliminating cash has already started. Developing and launching CBDCs will take up to 5 years. It will take above 10 years to become finally cashless.
Indeed, we already use digital money anyway. But in order to fully pass, I think it takes one generation.