Custom date field

Can I have a custom date field like DD/MM/YYYY this. and users should be able to enter the date, month and year only but ’ / ’ (slash) shouldn’t be editable, as it would be in any other form