I have a database with the time it takes to process an order and I need to convert it to the total number of minutes in SQL.
I get how to do this with the HH:MM:SS
format using
LTRIM(DATEDIFF(MINUTE, 0, ProcessTime))
However whenever the time goes past a day the format becomes DD.HH:MM:SS
The "."
after the D is what's throwing me off and it's returning an error when I try to run the code.