That is quite easy with a simple formula, Tom.

R>SET VAR vMinutes INTEGER = 80

R>SET VAR vElapsed TEXT = (CTXT(INT(.vMinutes/60)) +':'+ CTXT(MOD(.vMinutes,60)))

R>show var vElapsed
1:20

On 2016-01-06 2:20 PM, TOM HART wrote:
I am try to convert a variable which is a waiting time(fixed time x fixed unit)
eg 20min x 4units = 80 minutes but I want to covert to hours and minutes.
I cannot seem to find that type of function in the help.

Tom Hart


Reply via email to