Convert and Sum a Text Field to a Time Field
Content
I am attempting to Sum the total of Hours and Minutes of a text field for a report. The current text format is HH:MM. I need it converted into HH:MM numbers and summed. I have tried various to_number expression options without success example: sum(((to_number(substr(TimeTrack$TimeTracking.CompletionTime,1,2))*60)+to_number(substr(TimeTrack$TimeTracking.CompletionTime,4,2))))/60
Any suggestions.
Thanks
Version
Service Cloud
Tagged:
0