Sign up for the free email newsletter for new tips, tutorials and more. Enter your email address below, and then click the button.
In Access, the Day function returns an integer between 1 and 31, inclusive, that represents the day of the month corresponding to the date provided as an argument.
The syntax for the Day 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 Day function to obtain the day from a specified date. Now the MyDay variable would contain the value of 4.
You can also use the Day function in a query.
If you'd like to see how it works, enter SQL statement and press Execute
dzone | digg | del.icio.us |