How to create an input of date already with pre-formatting

Hi my friends today I’m here to ask how to create an input of date
User only types your birthdate and the pre-formatting already appears