Thursday 24 November 2016

Get Last Date Of Month

SELECT DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,GetDate())+1,0))

No comments: