select datename(dw,getdate()) --> e.g Thursday select datepart(dw,getdate()) --> e.g 5
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)