Returns the day of the month that a specific date falls on, in numeric format.

Parameters

value Date (required) - a date to extract the day from

Returns

Number

Examples

DAY('2015-12-31')

// returns 31