THE WORLD'S LARGEST WEB DEVELOPER SITE

MS Access Month() Function

❮ MS Access Functions

Example

Return the month for a specified date:

SELECT Month(#05/17/2017#);
Try it Yourself »

Definition and Usage

The Month() function returns the month (from 1 to 12) for a date.

Syntax

Month(date)

Parameter Values

Parameter Description
date Required. A valid date

Technical Details

Works in: Access 2016, Access 2013, Access 2010, Access 2007, Access 2003, Access XP, Access 2000

More Examples

Example

Return the month for today's date:

SELECT Month(Date());
Try it Yourself »

Example

Return the month for the "BirthDay" column in "Employees":

SELECT Month(BirthDate) FROM Employees;
Try it Yourself »

❮ MS Access Functions