Main Logo
homelink tutorialslink softwarelink comicslink aboutlink contactlink

Tutorial: How to Check if a Date has Passed Using T-SQL


Example T-SQL
-- Get all dates that have passed
SELECT DateTimeValue FROM YourTable WHERE DateTimeValue < GetDate() 
    

Published: July 12, 2011