Answer: This function is use to find out the last day of the month.
e.g.
Select LastDayOfcurrentMonth = CONVERT(varchar(10),EOMonth(GETDATE()),110)
/*
LastDayOfcurrentMonth
---------------------------------
07-31-2012
*/
Asked In: Many Interviews |
Alert Moderator