you can use datediff also but timespan is better option depends on the your desired results try to look at cheat sheets also just for a quick reference , u can also Google cheat sheets here is one of the reference http://www.addedbytes.com/cheat-sheets/sql-server-cheat-sheet[^]
T = DateDiff("n", (T1), (T2))
T = TimeSpan.Compare(t1, t2)
Best Of Regards, SOFTDEV Sad like books with torn pages, sad like unfinished stories ...