Sql Date Difference

/ Published in: SQL
Save to your folder(s)

Can use second, Minute and many other from the url above

Copy this code and paste it in your HTML
  1. SELECT DATEDIFF(SECOND, '10:59:00', '11:03:00')

URL: http://msdn.microsoft.com/en-us/library/ms189794.aspx

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.