DAY

Description

This function returns an integer that represents the day (day of the month) of the specified date. (DAY in Transact-SQL).

Sample Source Pattern

Syntax

DAY ( date )  

Examples

Code:

IN -> SqlServer_01.sql
SELECT DAY('10-10-2022') AS DAY

Result:

DAY  |
-----+
   10|

Last updated