Change the format of Timespan Variable

If you don’t want the days and want total hours instead, use the TotalHours property of the timespan. (e.g. If the process takes 1 day, 12 hours, 15 minutes, and 12 seconds, you want the format of 36:15:12). Use something like this:

System.Math.Floor(variable.TotalHours).ToString & variable.ToString(“\:mm\:ss”)