Date Functions MSSQL Tutorial

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