I want to create auto number field

I want to create auto number field

Hi,I want to create auto number field that will change over the time.
For example,if  the time is 2022.2.2 appears "220201"..."220299"  and then when time is 2022.3.5 appears "220301"
May i ask for how to do this at function in CRM