SQL

SQL Server DATENAME() Function

Return a specified part of a date: