How To Get Day Name from any Date ?
Satyaprakash Samantaray
SELECT DATENAME(DW,GETDATE()) as DayName
SELECT DATENAME(dw,'05/10/1991') as theDayName
select datename(dw,getdate()) --Thursday select datepart(dw,getdate()) --2
SELECT DATENAME(dw,GETDATE()) as Dayname
SELECT DATENAME(weekday,CAST('08/09/2017' AS date)) AS [DayName]
//default locale System.DateTime.Now.DayOfWeek.ToString(); //localized version System.DateTime.Now.ToString("dddd");