tsql get day name fro a date code example Example: sql server convert date to weekday SELECT DATENAME( DW , GETDATE() );