SQL SERVER – Validating If Date is Last Day of the Year, Month or Day
- by Pinal Dave
Here is one more question I recently received in an email-
“Pinal, is there any ready made function which will display if the given date is the last day or the year, month or day?
For example, if a date is the last day of the Year and last day of the month, I want to display Last Day of the Year and if a date is the last date of the month and last…