Friday, June 21, 2019

Get week of the Day MSSQL

select datename(dw,getdate()) --Thursday
select datepart(dw,getdate()) --2

No comments:

Post a Comment