I've got a field in my table called TimeSpent and it's a bigInt. We store the number of TICKS from our C# application that corresponds to a number of days, hours, and minutes they input. For instance, if the user puts in 0 days, 0 hours, and 10 minutes, then the value that is stored is 6000000000.
Is there a way in SQL to convert that value to 3 seperate values of Days, Hours, & Minutes?
Is there a way in SQL to convert that value to 3 seperate values of Days, Hours, & Minutes?