Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mssql last day of month

SELECT DATEADD(month, ((YEAR(getdate()) - 1900) * 12) + MONTH(getdate()), -1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mssql #day #month
ADD COMMENT
Topic
Name
5+7 =