SQL Server 2012 – EOMONTH – Find Last Day of Any Month
In SQL Server 2012, seven new datetime functions have been introduced. EOMONTH is one of them. This is really useful function because many times we need to find the last date of month. Syntax: EOMONTH ( start_date [, month_to_add ] ) Find Last Day of Current Month Example: SELECT EOMONTH
» Read more