| **Navigation:**  [[introduction.htm|Language Reference]] > 13 - Built-in Functions >====== MONTH (return month of date) ====== | [[message return message box response .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[mousex return mouse horizontal position .htm|{{btn_next_n.gif|Next page}}]] | | || **MONTH(**//date//**)** {{blk2blue.jpg|blk2blue.jpg}} | **MONTH** | Returns month in year. | | //date// | A numeric constant, variable, expression, or the label of a STRING, CSTRING, or PSTRING variable declared with a date picture token. The //date// must be a standard date. A variable declared with a date picture token is automatically converted to a standard date intermediate value. | The **MONTH** procedure returns the month of the year (1 to 12) for a given standard date. | **Return Data Type:** | LONG | **Example:** **PayMonth = MONTH(DueDate)   !Get the month from the date** **See Also:** [[standard date.htm|Standard Date]] [[day return day of month .htm|DAY]] [[year return year of date .htm|YEAR]] [[today return system date .htm|TODAY]] [[date return standard date .htm|DATE]]