They are not formula, they are formats.

Right click any cell and select Format Cells and then go to the Number tab.. you will see the chosen format is custom and the type is as mentioned above.