DATEDIFF ( datepart , startdate , enddate ) Select DATEDIFF(mi, '1/1/2005 10:00:00' , '1/1/2005 10:06:00' ) as numero_minutos