SQL Notebook (logo)

DAY Function

Returns the day-of-month part of a date/time string.

Syntax

DAY(date)

Arguments

Return Value

An integer representing the specified day of the month.

Examples