The Month() function returns the month part for a given date.
This function returns an integer between 1 and 12.
Month(
date)
Parameter | Description |
---|---|
date | Required. A numeric or string expression that can represent a valid date |
Works in: | From Access 2000 |
---|
Return the month part of the "BirthDay" column in "Employees":
SELECT Month(BirthDate) FROM Employees;
Try it Yourself »
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!