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