Home Forums SQL Server 2008 SQL Server 2008 - General Time difference RE: Time difference
robert.gerald.taylor
SSChampion
Points: 13133
More actions
September 6, 2013 at 12:48 pm
#1648199
Take a look at the DATEDIFF() function: http://technet.microsoft.com/en-us/library/ms189794(v=sql.105).aspx
DATEDIFF ( datepart , startdate , enddate )
HTH,
Rob