How to set format user's date input

How would you enable users to input dates in various formats like DD/MM/YYYY, DD-MM-YY, or YYYY-MM-DD while allowing for any digit input?

To implement this functionality, you can utilize an input field and specify its type as “formatter.” Within the formatter expression, define the desired date format such as DD/MM/YYYY, DD-MM-YY, or YYYY-MM-DD.

Please note: When defining the format, use ‘0’ as a placeholder to indicate any digit the user may input.

This approach ensures flexibility in date input while adhering to the specified format.