Q&A about the site for enthusiasts and scholars of mythology and folklore
-- DATEDIFF ( datepart , startdate , enddate ) -- Example usage SELECT DATEDIFF(DAY, GETDATE(), 2023-22-10) AS DayDiff