How can I find the last day of the month?

Hi friends i am writing this article to find the last day of the month.I think it may useful to you.
SELECT DATEADD(ms, -5, DATEADD(mm, DATEDIFFa(m, 0, GETDATE()) + 1, 0))