| **Navigation:**  [[introduction.htm|Language Reference]] > 13 - Built-in Functions >====== DAY (return day of month) ====== | [[date return standard date .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[debughook hook data to debugger list .htm|{{btn_next_n.gif|Next page}}]] | | || **DAY(**//date//**)** {{blk2blue.jpg|blk2blue.jpg}} | **DAY** | Returns day of month. | | //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 **DAY** procedure computes the day of the month (1 to 31) for a given standard date. | **Return Data Type:** | LONG | **Example:** **OutDay = DAY(TODAY())    !Get the day from today's date** **DueDay = DAY(TODAY()+2)  !Calculate the return day** **See Also:** [[standard date.htm|Standard Date]] [[month return month of date .htm|MONTH]] [[year return year of date .htm|YEAR]] [[today return system date .htm|TODAY]] [[date return standard date .htm|DATE]]