Community

A SQL Server Leap Year Test Function

(Richard Carr) Transact-SQL does not provide a standard function that allows developers to determine if a year is a leap year. This article describes two functions. One to calculate the number of days in a year and one that utilises the result to identify leap years.

Read More - Register for Free Membership