Answers for "How to get the last day of the month in sql server"

SQL
3

get current month last date in sql server

SELECT EOMONTH('2019-02-15') end_of_month_feb2019;
Posted by: Guest on August-19-2020
0

mssql last day of month

SELECT DATEADD(month, ((YEAR(getdate()) - 1900) * 12) + MONTH(getdate()), -1)
Posted by: Guest on July-16-2020

Code answers related to "How to get the last day of the month in sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language