Date Functions MSSQL Tutorial

2>  select DATENAME(day, '2002-09-30 11:35:00')
3> GO
------------------------------
30
(1 rows affected)
1>