Date Functions MSSQL Tutorial

1>  SELECT DATEPART(dd, '7/5/00')
2> GO
-----------
          7
(1 rows affected)