bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MS Access Day() Function

Concept visual

MS Access Day() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Return the day of the month for the date:

SELECT Day(#05/17/2017#);

Definition and Usage

The Day() function returns the day of the month for a given date. This function returns an integer between 1 and 31.

Syntax

Day(

date )

Parameter Values

Parameter

Description date

Required. A numeric or string expression that can represent a valid date

Technical Details

Works in:

From Access 2000

More Examples

Example

Return the day of the month for today's date:

SELECT Day(Date());

Example

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

SELECT Day(BirthDate) FROM Employees;

Previous

❮ MS Access Functions

Next

Previous

MS Access DateValue() Function

Next

MS Access Format() Function