Sign up for the free email newsletter for new tips, tutorials and more. Enter your email address below, and then click the button.
Privacy Policy
In Access, the Month function returns an Integer between 1 and 12, inclusive, containing the month part of a date.
The syntax for the Month function is:
The required time argument is any numeric or string expression, that can represent a date. If number is Null, this function returns a Null.
This example uses the Month function to obtain the month from a specified date. Now the MyMonth variable would contain the value of 12.
You can also use the Month function in a query.
If you'd like to see how it works, enter SQL statement and press Execute
Tags:
Add To: dzone | digg | del.icio.us | stumbleupon