How to fetch the month data from other field

hi
i am trying to get the same month in appointment.month according to the date generated in appointment.date ,can u help me with the formula to get exact same month in month from date…

For appointment.month, use a Formula field with the following value:

month(field('appointment.date'))

that works!!
thanks mockaroo guys!!