Month
Syntax
Month(date_value)
Description
Returns the month portion of the date value provided as a parameter.
Parameters
| Parameter | Description |
|---|---|
|
date_value |
A date value, such as the value returned by the Date() function. |
Returns
Returns the month portion of the date value provided as a parameter.
Example
The following table presents examples of using the Month function; the second example assumes that the current month is February:
| Expression | Result |
|---|---|
|
Month(February 13, 2012) |
2 |
|
Month(Date()) |
2 |