Time spent in hours and minutes

Dear all,I have a variable with say 70 minutes i need to convert this as 1 hour and 10 minutes…is there a function to do this using LS

thanks

Subject: time spent in hours and minutes

I don’t know if there is a built in function or not, maybe there was something new added that I am not aware of. I’ve used this code in the past though. Just convert your minutes to seconds for the first variable and the code will transform it to days, minutes and seconds, then use the resulting variables to display whatever you want. Here I display a text value result in a helpdesk application.

dt:=ActualSeconds;

days:=@Integer(dt/86400);

hours:=@Integer((dt-days*86400)/3600);

mins:=@Integer((dt-days86400-hours3600)/60);

shtext:=@Text(days)+" Days : “+@Text(hours)+ " Hours : “+@Text(mins)+” Minutes”;

@If(@IsError(shtext); “0 Days : 0 Hours : 0 Minutes”; shtext)