This function determines the month from a specified date, and returns a number from 1 to 12.
MONTH(Date)
DATE
Any date.
Example:To return the month from the date contained in a textbox with TAG name of InvoiceDate:
MESSAGE(MONTH(~InvoiceDate~)//”Month”)