Day

Description

Obtains the day of the month in a date value.

Syntax

Day ( date )

Argument

Description

date

The date for which you want the day


Return value

Integer. Returns an integer (1-31) representing the day of the month in date.

Examples

This expression returns 31:

Day(2005-01-31)

This expression returns the day of the month in the start_date column:

Day(start_date)

See also

Date

IsDate

Month

Year