Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Zafar
Contributor II
Contributor II

Time Format User Readable

I have this expression 

INTERVAL(FABS(AVG(Time_Diff))ddhhmm) in bar graph expression is used and i want the following format for expression which user can easily read   2 Days ,07 Hours ,30 Minute ,2 Sec  
 
Thanks 
Labels (1)
1 Reply
Anil_Babu_Samineni

Perhaps doing lengthy way?

INTERVAL(FABS(AVG(Time_Diff)), 'DD') & ' Days, ' & INTERVAL(FABS(AVG(Time_Diff)), 'hh') & ' Hours, ' &  INTERVAL(FABS(AVG(Time_Diff)), 'mm') & ' Minutes, ' & INTERVAL(FABS(AVG(Time_Diff)), 'ss') & ' Seconds'

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful