On article "Working with Time Spans and Durations in SQL Server" (http://www.sqlteam.com/article/working-with-time-spans-and-durations-in-sql-server) there is the following:select sum(TotalSeconds) / 86400 as Days, (sum(TotalSeconds) % 86400) / 3600 as Hours, (sum(TotalSeconds) % 3600) / 60 as Minutes, sum(TotalSeconds) % 60 as Secondsfrom( select EventID, DateDiff(second, StartDate, EndDate) as TotalSeconds from Events)
I´d know how to add sum milliseconds into it.