Pages

Friday, January 16, 2009

SQL date difference

datediff(mi, @loginTime, getdate());


returns the difference in minutes

No comments:

Post a Comment