DAY

Returns a day of the month in the form of a number from 1 through 31.

Use

DAY(date) and replace date with a date field or value such as TODAY().

Formula Example
Formula Example DAY(Code_Freeze__c) returns the day in your custom code freeze date. Note this function doesn't work on date/time fields.