A mask of a TextField is nothing more than a display format style, making it easily identifiable information.
Create a project and add a TextField. In the Object Inspector, search for the property Mask and modify to Date.
Save and Run with CTRL + S and F9 or with the Toolbar's buttons.
Make tests with another masks and see the result.