Home / Search/ Language Reference/ Functions/ Scalar Functions/ DateTime Functions/dayofmonth

dayofmonth

The dayofmonth function returns the integer number representing the day number of the given month.

Syntax

    dayofmonth( Date )

Arguments

Returns

The day number of the given month.

Example

  • dayofmonth(datetime(2015-12-14)) returns as 14.